I am developing an application where all the API's are protected by OAuth. I have received the access token from the client, but could not decode and validate the token.
I have JWK in the below format
{
"keys": [
{
"kty": "RSA",
"x5t#S256": "Some value",
"e": "Some Value",
"x5t": "Some Value",
"kid": "SIGNING_KEY",
"x5c": [
"Some Value"
],
"key_ops": [
"verify",
"encrypt"
],
"alg": "RS256",
"n": "Some Value"
}
]
}
How to decode the JWT token using above JWK in Python?