Hi Filip,

Looks like you created a "Web application" on the Google API Console. For 
installed application, there's an installed application option on the 
Google API Console, and urn:ietf:wg:oauth:2.0:oob is a registered callback 
url in that project.

Cheers,
Anash P. Oommen
AdWords API Advisor

On Friday, September 27, 2013 4:53:17 PM UTC+5:30, Filip Holmberg wrote:
>
>
> We are building a adwords tool but we're struggling with the 
> authentication. Our tool is just for internal use and therefore should be 
> considered as a "installed app" I assume. So the logic should be as 
> follows: authenticate with OAuth2.0 once and then just refresh the 
> authentication as the application is used.
>
> Here is what we've done so far.
> - Applied for API access from our MCC account (devToken is still pending)
> - Created a test account
> - Registered our test application in the Google API Console as 'installed 
> application'
>
> When trying to authenticate using the example GetRefreshToken.php google 
> returns "Error: redirect_uri_mismatch
> The redirect URI in the request: urn:ietf:wg:oauth:2.0:oob did not match a 
> registered redirect URI"
>
> The script is configured with the client id and secret from the API 
> console. The production MCC developer token is used as suggested in the 
> test account docs. 
>
> Are we doing something really wrong or what are we missing since the 
> authentication fails. Seems that most of the documentation and tutorials 
> we found uses the deprecated sandbox so haven't really found any good 
> threads discussing similar problems.
>
> Appreciate any kind of help, especially since the project schedule is 
> tight as always :) 
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to