Created
February 9, 2019 14:09
-
-
Save beleidy/fc538eec659551410e6478c7cff4f0f8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from jwt.algorithms import RSAAlgorithm | |
jwt_key = [key for key in JWKS_KEYS if key['kid'] == jwt_kid][0] | |
public_key = RSAAlgorithm.from_jwk(json.dumps(jwt_key)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment