Can't get refresh token through OAuth2TokenGenerator

39 views
Skip to first unread message

Sergey Volkov

unread,
Oct 16, 2014, 2:11:53 PM10/16/14
to adwor...@googlegroups.com
Hi

i'm getting on the 2nd screenshot:

400. That’s an error.

Error: redirect_uri_mismatch

The redirect URI in the request: http://localhost:8080/ did not match a registered redirect URI.


Does it suppose to work?

Danial Klimkin

unread,
Oct 17, 2014, 7:29:16 AM10/17/14
to adwor...@googlegroups.com
Hello Sergey,


It looks like you've selected "Web Application" when set up the OAuth client. Please either use "Installed Application", or modify the client settings to whitelist "http://localhost:8080/"


-Danial, AdWords API Team.

Sergey Volkov

unread,
Oct 18, 2014, 10:51:48 AM10/18/14
to adwor...@googlegroups.com
Thanks! It's helped
Reply all
Reply to author
Forward
0 new messages