Is there a way to get a unique identifier for a user from MusicKit JS?

Hello!

I'm trying out MusicKit JS and am able to log in and retrieve songs from my library, but I want to be able to store some information tied to myself as a user between sessions.

I can't seem to find any unique identifier for a user besides maybe the musicUserToken?, which I assume will change at some point.

I also can't seem to find any direction on how to get any user information like name/apple id/etc. without also getting an auth token from apple id and then sending the id token back for information.

I was just thinking, since they already log in to apple to authorize MusicKit JS, there must be some way to get some unique identifier to tie the logged in user to itself across sessions.

Am I missing something or do i need to make another call to get an auth token?

Thanks

Is there a way to get a unique identifier for a user from MusicKit JS?
 
 
Q