Skip to content

Simple script to sign and encode the JWT developer token used by MusicKit

License

Notifications You must be signed in to change notification settings

mkoehnke/musickit-token-encoder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

MusicKit JWT Token Encoder

No Maintenance Intended

This is a simple script to sign and encode the JWT developer token used by MusicKit.

Prerequisites

Before you can use the token encoder, you need to install the JWT gem:

sudo gem install jwt

Usage

Simply execute the music-token-encoder command along with the following parameters:

  • Private Key (.p8)
  • Key ID
  • Team ID
  • Token expiration in days (currently: must not be greater than 180)
./musickit-token-encoder <KEY>.p8 <KEYID> <TEAMID> 180 

About

Simple script to sign and encode the JWT developer token used by MusicKit

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages