Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: invalid_scope #64

Open
Konstantinusz opened this issue Dec 10, 2016 · 2 comments
Open

Error: invalid_scope #64

Konstantinusz opened this issue Dec 10, 2016 · 2 comments

Comments

@Konstantinusz
Copy link

I am prompted to follow the oauth2 authentication link in browser an then paste the authorization token. When I follow the link I get an error message from Google: "Error: invalid_scope"

Not authorized to request the scopes: [https://www.google.com/accounts/OAuthLogin]

client_id=936475272427.apps.googleusercontent.com
scope=https://www.google.com/accounts/OAuthLogin
redirect_uri=urn:ietf:wg:oauth:2.0:oob
response_type=code

@Konstantinusz
Copy link
Author

Okay, problem solved:

One should log off from his Google account, and then follow this link in the browser (Chrome works, because must be inspected a cookie value):

https://accounts.google.com/o/oauth2/programmatic_auth?hl=en&scope=https%3A%2F%2Fwww.google.com%2Faccounts%2FOAuthLogin+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.email&client_id=936475272427.apps.googleusercontent.com&access_type=offline&delegated_client_id=183697946088-m3jnlsqshjhh5lbvg05k46q1k4qqtrgn.apps.googleusercontent.com&top_level_cookie=1

And then following the steps explained in this video:
https://www.youtube.com/watch?v=hlDhp-eNLMU

Then simply pasting the token for the node app. Thats all.

@Rudloff
Copy link
Contributor

Rudloff commented Nov 30, 2017

I'm also getting the same invalid_scope error when opening the URL provided by hangupsjs 1.3.6.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants