Open svandegar opened 4 years ago
Unfortunately, there is no good way to do with the current design of Flask-Dance. You might need to handle OAuth yourself for this use-case. 😞
If someone can think of an API design that would allow for specifying scopes dynamically, I'm open to the idea!
@svandegar @singingwolfboy I have same requirement.
Hi!
I've been struggling to find a way to changes the Slack scopes dynamically, using Flask-dance. As the scopes are defined as part of the blueprint, I can't find a way to set different scopes for each user (and to add permissions after the first successful authentication).
Have someone already faced/dealt with the same issue?