Post

Replies

Boosts

Views

Activity

Reply to MusicKit JS - Invalid JWT validation
I've just checked and double-checked and according to jwt.io I have a perfectly valid ES256 token, which resolves to the same shape expected by Apple in the documentation, shape: { "alg": "ES256", "kid": "ABC123DEFG" } { "iss": "DEF123GHIJ", "iat": 1437179036, "exp": 1493298100 }
Topic: Media Technologies SubTopic: General Tags:
Feb ’22
Reply to MusicKit JS - Invalid JWT validation
I've just checked and double-checked and according to jwt.io I have a perfectly valid ES256 token, which resolves to the same shape expected by Apple in the documentation, shape: { "alg": "ES256", "kid": "ABC123DEFG" } { "iss": "DEF123GHIJ", "iat": 1437179036, "exp": 1493298100 }
Topic: Media Technologies SubTopic: General Tags:
Replies
Boosts
Views
Activity
Feb ’22
Reply to MusicKit JS - Invalid JWT validation
I can even decode the token presented in the authentication window: https://authorize.music.apple.com/woa?a=[[TOKEN_THAT_VALIDATES_PERFECTLY]]&referrer=[[MY_WEBSITE_URL]]/&app=music&p=subscribe
Topic: Media Technologies SubTopic: General Tags:
Replies
Boosts
Views
Activity
Feb ’22
Reply to MusicKit JS - Invalid JWT validation
The app itself is able to communicate with Apple Music API just fine, it works perfectly using the same token encoding function that I use and return to MusicKit JS. So it's definitely a problem on Apple's side.
Topic: Media Technologies SubTopic: General Tags:
Replies
Boosts
Views
Activity
Feb ’22
Reply to JWT works for Apple Music API but doesn't work for MusicKit
@0132 - any chance you've solved this? I'm getting the EXACT same behavior now out of the blue after 4 years of my app working perfectly...
Topic: Media Technologies SubTopic: General Tags:
Replies
Boosts
Views
Activity
Feb ’22