I'm trying to validate JWTs from Apple using their JWK (https://appleid.apple.com/auth/keys) and it took me hours to figure out what to do with them. Had to piece together information from different Issues and PRs + the last item on the Usage Examples page:
I'm trying to validate JWTs from Apple using their JWK (https://appleid.apple.com/auth/keys) and it took me hours to figure out what to do with them. Had to piece together information from different Issues and PRs + the last item on the Usage Examples page:
https://pyjwt.readthedocs.io/en/stable/usage.html#retrieve-rsa-signing-keys-from-a-jwks-endpoint
Would be nice if the PyJWKClient and RSAAlgorithm classes were covered in the API Reference.
https://pyjwt.readthedocs.io/en/stable/api.html