Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.alterauth.com/llms.txt

Use this file to discover all available pages before exploring further.

Overview

Connect your users to Spotify for music data, playlist management, playback control, and listening history.
PropertyValue
Provider IDspotify
CategorySocial
PKCESupported
Token refreshAutomatic
Redirect URIShown in Developer Portal

Step 1: Create a Spotify OAuth App

1

Go to the Spotify Developer Dashboard

Navigate to developer.spotify.com/dashboard and sign in.
2

Create a new app

Click Create app, fill in the app name and description, and accept the terms.
3

Configure the redirect URI

Under Edit settings, add the Alter callback URL from the Developer Portal to the Redirect URIs field.
4

Get your credentials

Copy the Client ID and Client Secret from the app dashboard.
Never share your Client Secret publicly. Store it securely and only enter it in the Alter Vault Developer Portal.

Step 2: Add to Alter Vault

1

Open the Developer Portal

Go to portal.alterauth.com and navigate to your app.
2

Add Spotify provider

Go to OAuth Providers > Add Provider > Spotify.
3

Enter credentials

  • Client ID: Paste your Spotify Client ID
  • Client Secret: Paste your Spotify Client Secret
4

Select scopes

Choose the scopes your app needs.
5

Save

Click Save. The provider is now active.

Available Scopes

ScopeDescription
user-read-emailRead user’s email address
user-read-privateRead user’s subscription details and country
playlist-read-privateRead private playlists
playlist-modify-publicCreate and modify public playlists
playlist-modify-privateCreate and modify private playlists
user-library-readRead saved tracks and albums
user-library-modifySave and remove tracks and albums
user-top-readRead top tracks and artists
user-read-recently-playedRead recently played tracks
streamingControl playback via the Web Playback SDK

Notes