Skip to main content
Version: v3

Slack

Documentation

https://api.slack.com/authentication https://api.slack.com/docs/sign-in-with-slack

Configuration

https://api.slack.com/apps

Options

The Slack Provider comes with a set of default options:

You can override any of the options to suit your own use case.

Example

import Providers from `next-auth/providers`
...
providers: [
Providers.Slack({
clientId: process.env.SLACK_CLIENT_ID,
clientSecret: process.env.SLACK_CLIENT_SECRET
})
]
...