Menu
NextAuth LogoNextAuth LogoNextAuth.jsDocumentationTutorialsFAQ
npmGitHub
๐ŸŒœ
๐ŸŒž
NextAuth LogoNextAuth LogoNextAuth.js
  • Documentation
  • Tutorials
  • FAQ
  • npm
  • GitHub
  • Getting Started
    • Introduction
    • Example Code
    • Client API
    • REST API
    • TypeScript Support
  • Configuration
    • Options
    • Providers
    • Databases
    • Pages
    • Callbacks
    • Events
  • Models & Schemas
    • Models
    • MySQL
    • Postgres
    • Microsoft SQL Server
    • MongoDB
    • Database Adapters
  • Authentication Providers
    • Amazon Cognito
    • Apple
    • Atlassian
    • Auth0
    • Azure Active Directory B2C
    • Basecamp
    • Battle.net
    • Box
    • Bungie
    • Credentials
    • Discord
    • Email
    • EVE Online
    • Facebook
    • Foursquare
    • FusionAuth
    • GitHub
    • GitLab
    • Google
    • IdentityServer4
    • Instagram
    • Kakao
    • LINE
    • LinkedIn
    • Mail.ru
    • Medium
    • Netlify
    • Okta
    • Osso
    • Reddit
    • Salesforce
    • Slack
    • Spotify
    • Strava
    • Twitch
    • Twitter
    • VK
    • Yandex

Slack

Documentation#

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

Configuration#

https://api.slack.com/apps

Example#

import Providers from `next-auth/providers`
...
providers: [
Providers.Slack({
clientId: process.env.SLACK_CLIENT_ID,
clientSecret: process.env.SLACK_CLIENT_SECRET
})
]
...
Edit this page
Previous
ยซ Salesforce
Next
Spotify ยป
  • Documentation
  • Configuration
  • Example

About NextAuth.js

  • Introduction
  • Contributors
  • Canary documentation

Download

  • GitHub
  • NPM

Acknowledgements

  • Docusaurus
  • Images by unDraw
  • Powered by Vercel
NextAuth.js © Iain Collins 2021