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

Getting an invalid_scope when trying to auth #16

Closed
unrarp opened this issue Aug 30, 2014 · 3 comments · Fixed by #17
Closed

Getting an invalid_scope when trying to auth #16

unrarp opened this issue Aug 30, 2014 · 3 comments · Fixed by #17

Comments

@unrarp
Copy link

unrarp commented Aug 30, 2014

After following the instructions, the sample code is returning the invalid_scope when trying to go to the following url:

https://login.uber.com/oauth/authorize?scope=profile+history&redirect_uri=http%3A%2F%2Flocalhost%3A7000%2Fsubmit&response_type=code&client_id=YOUR_CLIENT_ID

Replace YOUR_CLIENT_ID with something that works.

@ascandella
Copy link
Contributor

Per the documentation, you need to comma-separate your scopes: https://developer.uber.com/v1/auth/#oauth-2-0

@ascandella
Copy link
Contributor

Oh uh, yea, no, this is our fault. Sorry, read this one too quickly. @zheller the app.py needs to be fixed or we should remove history from the default scopes... what do you think?

@ascandella ascandella reopened this Sep 2, 2014
@zheller
Copy link
Contributor

zheller commented Sep 2, 2014

History should be removed.

ascandella pushed a commit that referenced this issue Sep 2, 2014
Also make this compatibile with multiple scopes, which expects a
comma-separated list.

Fixes #16
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

Successfully merging a pull request may close this issue.

3 participants