I have a use case where scopes change per token (the user is able to pick 
scopes before starting the oauth2 interaction).

Would it be possible to add `scopes []string` to AuthCodeURL so they can be 
changed per request?

Currently I am changing `oauthConfig.Scopes` per call, wrapped with a mutex 
to prevent races.

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to