Closed lorenzocelli closed 1 year ago
would you mind sending a fix for it?
Sorry my bad! I did not notice that the argument was meant to be in the options
dictionary:
jwt.decode(str, key="secret", algorithms=["HS256"], options={'verify_exp': False})
I noticed that the verify_exp argument seems to be ignored when decoding a token signed with HS256.
Expected Result: by passing verify_exp = False I would expect the
jwt.decode()
method to succeed even if the provided exp value is in the past.Actual Result: the
jwt.decode()
method throws aExpiredSignatureError
exception.Reproduction Steps
System Information