Configuring Spotify Integration
To enable Spotify integration in your MusicAPI implementation, you must first create a Developer App through the Spotify for Developers Portal.
Step 1: Create Spotify Developer App
- Log in to your Spotify Developer Dashboard
- Click Create an App and configure your application settings
- Complete the required application information
Step 2: Configure Redirect URI
Critical Configuration
Ensure your app's Redirect URI is set to exactly:
This exact URL is required for proper authentication flow.
Step 3: Obtain API Credentials
Navigate to your app's Settings page to retrieve your Client ID and Client Secret:

Step 4: Configure MusicAPI Integration
Required Configuration
You must complete the following steps in the MusicAPI Developer Dashboard:
- Add your Spotify Client ID and Client Secret
- Enable the Spotify integration so users can see it as an authentication option
Authentication Implementation
Direct Spotify Authentication
To redirect users specifically to Spotify authentication:
This bypasses service selection and opens the Spotify authentication flow directly.
General Authentication Flow
Alternatively, allow users to choose from all available services:
Users will see a service selection screen including Spotify and other configured integrations.