Skip to content
Discussion options

You must be logged in to vote

Here is the Slack provider:

https://www.github.com/nextauthjs/next-auth/tree/main/src%2Fproviders%2Fslack.js

And here is the docs from slack:

The scope list requests scopes for your app's bot user. If you have specific need for a user token (say, to act on behalf of a user), provide a user_scope parameter with requested user scopes instead of, or in addition to, the scope parameter.

https://api.slack.com/authentication/oauth-v2#asking

So try adding those scopes to authorizationParams.user_scope instead.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by allang
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
3 participants