Sign In with Spotify
Spotify OAuth social login Spotify sign-in authentication provider music APICreate Spotify Account
Section titled “Create Spotify Account”- Create a new Spotify account if you don’t have one already.
Create Spotify App
Section titled “Create Spotify App”- Go to the Spotify Developer Dashboard.
- Click on CREATE AN APP.
- Fill in an App name and App description.
- Check the box to agree Spotify’s Developer Terms of Service and Branding Guidelines.
Configure OAuth Callback URL
Section titled “Configure OAuth Callback URL”- Click EDIT SETTINGS.
- A modal appears.
- Fill in Redirect URIs with your OAuth Callback URL from Nhost.
- Click ADD to add the OAuth callback URL.
- Click SAVE.
Configure Nhost
Section titled “Configure Nhost”- Click SHOW CLIENT SECRET in the Spotify App Dashboard.
- Copy and paste the Client ID and Client Secret from Spotify to your Nhost OAuth settings for Spotify.
- Click the checkbox “I have pasted the redirect URI into Spotify”.
- Click Confirm settings.
Sign In Users
Section titled “Sign In Users”Once you’ve configured Spotify as an OAuth provider in Nhost, you can sign in users using the Spotify provider. See the OAuth Provider Sign-In Guide for detailed implementation instructions including the complete OAuth flow, error handling, and session management.