MusicKit JS user token returns 403 immediately after password change

Has anyone seen this issue?

We have a user who changed their Apple ID password about 5 days ago. Now when they authenticate via MusicKit JS:

  1. authorize() succeeds and returns a user token
  2. Immediately calling any /me/ endpoint returns 403 "Invalid authentication" (code 40300)
  3. Developer token works fine on catalog endpoints
  4. User has active Apple Music subscription
  5. Other users work fine through the same flow
  6. App doesn't appear in user's "Apps Using Your Apple ID"

We've tried:

  • Calling unauthorize() before authorize()
  • Clearing localStorage/sessionStorage/cookies
  • Multiple re-auth attempts over several days

The token is freshly issued but Apple's API immediately rejects it.

Anyone encountered this after a password change? Any workarounds?

MusicKit JS user token returns 403 immediately after password change
 
 
Q