This guide explains how to set up Spotify as an authentication provider with Stack Auth. Spotify OAuth allows users to sign in to your application using their Spotify account.Documentation Index
Fetch the complete documentation index at: https://stackauth-e0affa27-chore-move-mcp-to-a-sep-app.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
For Development purposes, Stack Auth uses shared keys for this provider. Shared keys are automatically created by Stack, but show Stack’s logo on the OAuth sign-in page.
You should replace these before you go into production.
Integration Steps
Create a Spotify OAuth App
- Navigate to the Spotify Developer Dashboard.
- Log in with your Spotify account.
- Click Create app to create a new application.
- Enter an App name and App description.
- Under Redirect URI, add
https://api.stack-auth.com/api/v1/auth/oauth/callback/spotify - Check the agreement checkbox and click Create.
- You’ll be redirected to your app’s dashboard. Note your Client ID displayed on this page.
- Click Settings to view more details about your app.
- In the settings page, you can view your Client Secret by clicking Show client secret.
- If needed, you can adjust the app settings, including adding additional redirect URIs.
Need More Help?
- Check the Spotify Web API Authorization Documentation
- Join our Discord