Post

Replies

Boosts

Views

Activity

MusicKit JS - Invalid JWT validation
I have a web-app that is recently experiencing problems with users not being able to connect their Apple Music account. It was working perfectly up until now, it may be something with how my dependencies changed but I doubt that. In any case, once I invoke requestUserToken(), the tab is opened, and after authentication they get "Problem Connecting - There may be a network issue." Upon hitting "Try Again" the same error message appears, but this time the URL bar shows something along the lines of "ERROR_FAILED_TO_VERIFY_JWT&pod=10". What can be the reason for this?
5
0
1.2k
Feb ’22
How to store the Music User Token?
My web-app acquires an Apple Music User Token via MusicKit JS. I need to store this token so the app can do background operations on the account.My question is simple: how sould I store the Apple Music User token in my database? can it simply be stored in plain-text since it's "coupled" with my developer token, or do I need to use special measures to encrypt it?
1
0
1.4k
Sep ’18