where to add oauth scopes #165
Answered
by
maxcountryman
HosMercury
asked this question in
Q&A
-
I was using oauth2 crate and i was able to add scopes // google oauth here trying
|
Beta Was this translation helpful? Give feedback.
Answered by
maxcountryman
Jan 19, 2024
Replies: 1 comment 2 replies
-
From that code snippet it looks like the |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
HosMercury
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
From that code snippet it looks like the
client
variable is being assigned to the value ofauthorize_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 theadd_scope
invocations to ensure the desired scope is provided.