Menu
NextAuth LogoNextAuth.jsDocumentation
npmGitHub
NextAuth LogoNextAuth.js
  • Documentation
  • npm
  • GitHub
  • Getting Started
    • Introduction
    • Example
    • Client API
    • REST API
  • Configuration
    • Options
    • Providers
    • Databases
    • Pages
    • Callbacks
    • Events
  • Providers
    • Apple
    • Auth0
    • Battle.net
    • Box
    • Amazon Cognito
    • Discord
    • Email
    • Credentials
    • Facebook
    • GitHub
    • GitLab
    • Google
    • IdentityServer4
    • LinkedIn
    • Mixer
    • Okta
    • Slack
    • Spotify
    • Twitch
    • Twitter
    • Yandex
  • Models & Schemas
    • Models
    • MySQL
    • Postgres
    • MongoDB
    • Database Adapters
  • Tutorials
    • Testing

Spotify

#Documentation

https://developer.spotify.com/documentation

#Configuration

https://developer.spotify.com/dashboard/applications

#Example

import Providers from `next-auth/providers`
...
providers: [
Providers.Spotify({
clientId: process.env.SPOTIFY_CLIENT_ID,
clientSecret: process.env.SPOTIFY_CLIENT_SECRET
})
}
...
Edit this page
Previous
« Slack
Next
Twitch »
  • Documentation
  • Configuration
  • Example

About NextAuth.js

  • Introduction
  • Contributors

Download

  • GitHub
  • NPM

Acknowledgements

  • Docusaurus v2 🦖
  • Images by unDraw
NextAuth.js © Iain Collins 2020