Closed vgnshiyer closed 5 months ago
It would be nice to get the signing algorithm from the JWT header.
def get_signing_alg_from_jwt(self, token: str) -> str: unverified = decode_token(token, options={"verify_signature": False}) header = unverified["header"] return header.get("alg", None)
You can use jwt.api_jwt.decode_complete to get the complete message.
jwt.api_jwt.decode_complete
It would be nice to get the signing algorithm from the JWT header.