Thanks, we did it and seems to work. I thought that adding a new client will require to pass the approval process for developer token again.
On Monday, October 26, 2015 at 7:54:05 PM UTC+2, Josh Radcliff (AdWords API Team) wrote: > > Hi, > > The flow you described sounds like a *Web application* flow to me, rather > than an *Other/Native application* flow. The *Web* flow will allow you to > enter multiple redirect URIs, as you noted. > > I'd recommend switching over to the *Web application* client ID and > secret, then adding all required redirect URIs to that application. > > Cheers, > Josh, AdWords API Team > > On Sunday, October 25, 2015 at 12:07:28 PM UTC-4, assaf wrote: >> >> Hi, >> >> We have a developer token with enabled Adwords API. Recently we decided >> to allow customers to authorize using the OAuth protocol. It's working fine >> when in the redirect_uri we specify is http://ourdomain.com or >> http://localhost, but fails on http://app.ourdomain.com >> >> *400.* That’s an error. >> >> *Error: redirect_uri_mismatch* >> >> A native application: *xxx* >> >> You can email the developer of this application at: yyy >> Request Details >> >> - access_type=offline >> - approval_prompt=force >> - hl=en >> - scope=https://www.googleapis.com/auth/adwords >> - response_type=code >> - redirect_uri=http://app.ourdomain.com >> - client_id=zzz >> >> That’s all we know. >> >> As far as we understand this uri (subdomain) should be authorized >> somewhere in the Developers Console, but we don't see this option. Just for >> test purposes we created a new Client of type Web Application and it indeed >> has a section called Authorized redirect URIs, but it's missing in the our >> original Client which is of type Other. >> >> How can we solve this while preserving all the permissions we have in the >> original client? Should we migrate it from Other to Web application? >> >> Thanks >> >> -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] 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 [email protected]. Visit this group at http://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/faef5325-1069-42c4-b9c9-7e7ed80baa7f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
