Add for jwtVerify option to throw an exception if exp date is past #445
szwalkowski
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
What makes you think you need to check exp yourself? Both exp and nbf are checked out of the box, no option needed. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'd love to send param to jose.jwtVerify to throw exception whatever is wrong with JWT. If it's invalid, expired, pick whatever other issue. Not to have validate expiry date myself
Beta Was this translation helpful? Give feedback.
All reactions