Can I specify team ID for the Slack provider? #7566
-
Question 💬When people are signed into multiple Slack worspaces, the Slack OAuth flow can get confused about what team you are trying to sign into using NextAuth. Slack says it’s possible to include a How to reproduce ☕️I don’t have a clear repro for this, the user has to be signed into multiple Slack workspaces for the problem to arise. Contributing 🙌🏽Yes, I am willing to help answer this question in a PR |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
If you mean https://api.slack.com/legacy/oauth#send_users than you can pass |
Beta Was this translation helpful? Give feedback.
If you mean https://api.slack.com/legacy/oauth#send_users
than you can pass
team
to thesignIn
method and we will forward it https://next-auth.js.org/getting-started/client#additional-parameters