-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Labels
questionFurther information is requestedFurther information is requested
Description
We have an aws authorizer using okta-jwt-python.
Sometimes when we try to verify the token we get a JWTValidationException:
JWTValidationException: 'keys'
This error is returned by verify_access_token: jwt_verifier.py at line 101.
By looking at the traceback we can find the origin of the error to be :
for key in jwks['keys']: in _get_jwk_by_kid, jwt_verifier.py at line 180
The error is quite frankly not self explainative at all. I wanted to know what was the real error when jwks has no "keys" ? Is it possible to update the error handling accordingly?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested