-
Notifications
You must be signed in to change notification settings - Fork 652
Conversation
Trying to get an new token, with an 'expired' token results in an signature error. The token is decoded with verification of 'exp' claim. Only the orig_iat claim should be verified in this case. Fixes jpadilla#249
+1 for this |
any idea when this will be merged? |
@jorrit-wehelp i've tried your repo with this pull request. but i am still getting
|
👍 |
@kodeine This pull only avoids the 'Error decoding signature.' error. |
This would solve issue #92 |
👍 |
#348 is meant to update this. Do you agree? |
Yeah, agree. This pull is old and now has merge conflicts. Superseded by #348 |
Trying to get an new token, with an 'expired' token results in an
signature error. The token is decoded with verification of 'exp' claim.
Only the orig_iat claim should be verified in this case.
Problem is the JWT_DECODE_HANDLER does not have an option to disable exp verification.
Changing the default handler would be an backwards incompatible change... not sure how you guys would want to handle that.
So in this pull it has it's own call to jwt.encode...
Fixes #249