Question

I implemented Google oauth1 in my web app and it was working fine some two months ago as i was busy with some other stuff, today i have to test the app but I got the following error

Error: invalid_request Not authorized to request the scopes: [https://www.googleapis.com/auth/plus.login]

Request Details oauth_token=4/TcuWLYAunz3MeOac23f0i4AZ6tQx

Is there any change at google side for oauth login process? any help regarding this issue is appreciated.

The scopes I am using

https://www.googleapis.com/auth/userinfo.email

https://docs.google.com/feeds/

https://www.googleapis.com/auth/plus.login

https://www.google.com/calendar/feeds/

Was it helpful?

Solution

Most of the plus.* scopes do not work (ie, are ignored) when accessing Google API's with an OAuth1 token. Thus, OAuth1 request for those scopes are currently not allowed. Replacing plus.login by plus.me should solve your problem while still allowing you to obtain users' identifying information (see scopes' documentation).

Hope that helps!

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top