JMS Integration Test

Test Authentication Flow

This page lets you test the different redirect flows for JMS integration

1. Test direct auth with JMS redirect

This simulates a user clicking the "Authenticate with Spotify" button on the JMS website.

Start JMS Auth Flow

2. Test auth with manual redirect URL

Enter a custom redirect URL to test:

3. Technical Details

The authentication flow works as follows:

  1. User clicks authenticate on JMS website
  2. The request is sent to /auth-for-jms with a redirect URL
  3. The system redirects to Spotify with a state parameter indicating the JMS redirect
  4. After Spotify auth, Spotify redirects to our callback URL
  5. The callback handler identifies the JMS redirect state and forwards back to JMS