Post

Replies

Boosts

Views

Activity

Apple Music API Developer Token JWT how-to
Does anyone know how to create and sign an Apple Music API Developer Token in JWT format?I have the Key Identifier, (kid).I have the Team ID - the issuer (iss)I have the MusicKit private key.I have been programming in swift for a little over a year now and I have been stuck at this point for about a week. I understand the format the token is supposed to be in. I have searched everywhere for how to make it, I have been unsuccessful. So now I am here hoping someone can help or point me in the right direction.I have read up and down https://developer.apple.com/documentation/applemusicapi/getting_keys_and_creating_tokensIt simply states to create the token and sign it with your musickit private key. It seems apple provides no instruction on how to do this. Is this common knowledge that I just do not have/can't find?The closest item of help I could find online was https://github.com/pelauimagineering/apple-music-token-generatorHowever, I do not know how to program in python/write a script. I am currently trying to learn.Is this the only way to create a Developer Token?I may just be in way too over my head for the apple music api.Please help/point me in the right direction on how to construct the Apple Music API developer token if you can.
6
0
6k
Mar ’20