This file contains 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
import jwt | |
import requests | |
import base64 | |
from jose.utils import base64url_decode | |
from cryptography.x509 import load_pem_x509_certificate | |
from cryptography.hazmat.backends import default_backend | |
from cryptography.hazmat.primitives.asymmetric.rsa import RSAPublicNumbers | |
from cryptography.hazmat.primitives import serialization |