Good idea. I'll give that a go. Based on the Apple docs, it requires the JWT to be created "using the Elliptic Curve Digital Signature Algorithm (ECDSA) with the P-256 curve and the SHA-256 hash algorithm", which I'm doing with the `jsonwebtoken` library.
https://developer.apple.com/documentation/signinwithapplerestapi/generate_and_validate_tokens
https://developer.apple.com/documentation/signinwithapplerestapi/generate_and_validate_tokens