Sign in with Apple JWT generator. This is a tiny utility that will help you generate the JWT secret needed by Apple for Sign In With Apple (SIWA)
This tool will generate a JWT that's valid for six months, which is the longest Apple allows.
You need nodeJS and NPM installed to use this utility
npm install -g siwa-jwt-secret
siwa-jwt -a <audience> -k <key file name/path> -d <key id> -i <issuer> -s <subject>
siwa-jwt --aud <audience> --key <key file name/path> --keyid <key id> --iss <issuer> --sub <subject>
This tool relies on jsonwebtoken, yargs, and chalk