Since about the beginning of december the oauth flow for our app has been 
broken. It previously worked for ~3 months with no changes. It seems to 
have coincided with the new permission page for oauth and only affects 
functionality after an adwords token has been granted.

Steps to reproduce:
var clientId = 'ID.apps.googleusercontent.com';
var scopes = 'https://adwords.google.com/api/adwords/ 
https://www.googleapis.com/auth/userinfo.profile 
https://www.googleapis.com/auth/userinfo.email';
gapi.auth.authorize({client_id: clientId, scope: scopes, access_type: 
'offline', response_type: 'code', prompt: 'select_account',authuser: -1}, 
handleAuthResult);

This flow works the first time and then subsequently fails even when not 
trying to auth an Adwords account:
var scopes = 'https://www.googleapis.com/auth/analytics.readonly 
https://www.googleapis.com/auth/userinfo.profile 
https://www.googleapis.com/auth/userinfo.email';
gapi.auth.authorize({client_id: clientId, scope: scopes, access_type: 
'offline', response_type: 'code', approval_prompt: 'force', authuser: -1}, 
handleAuthResult);

After clicking on Adwords authorized account in account chooser
ERROR: "*400.* That's an error.

The page you requested is invalid. That's all we know."

In the google account permissions page if I auth GA first and then adwords 
it will only error after the adwords has been associated. I am desperate 
for a solution as I cannot seem to fix it on my end, it must be a change in 
the google permissions system.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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 [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].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to