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

Google auth sequence not liking any scope passed #7

Open
jlindborg opened this issue Jun 18, 2016 · 2 comments
Open

Google auth sequence not liking any scope passed #7

jlindborg opened this issue Jun 18, 2016 · 2 comments

Comments

@jlindborg
Copy link

I have my app setup for Google drive api and is configured to request https://www.googleapis.com/auth/drive.readonly - I pass that in as a scope param on the google oauth provider setup and it throws an "invalid_scope" error - "invalid=[profile,https://www.googleapis.com/auth/drive.readonly]}"

As near as I can tell all is well on the google configuration side-

@jlindborg
Copy link
Author

just to follow up on this - downloaded your projected and poked around a bit - removing the MandatoryScopes setting of "profile" from the googleOauthProvider class constructor cleared it up and passing in other scope designations (read only, application space only etc...) had the desired effect and were listed on the authentication screen for users and all is well.

@brittonbeckham
Copy link

brittonbeckham commented Oct 18, 2016

I have the same issue. @jlindborg, can you put in a pull request?

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