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?

Replies

Did you ever find an answer to this?