Skip to content

where to add oauth scopes #165

Answered by maxcountryman
HosMercury asked this question in Q&A
Discussion options

You must be logged in to vote

From that code snippet it looks like the client variable is being assigned to the value of authorize_url after adding the scopes. I suspect that's not what you want. What i've done previously is define a method to return my authorize URL. This method can be updated to use the add_scope invocations to ensure the desired scope is provided.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@HosMercury
Comment options

@maxcountryman
Comment options

Answer selected by HosMercury
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants