Replies: 1 comment 1 reply
-
|
You didn't miss anything. A JWT is evaluated as a whole including the signature with the jwtVerify API. |
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
Uh oh!
There was an error while loading. Please reload this page.
-
I want to do something like this in the frontend of our codebase:
At this part of the code I'm not interested in verifying the signature for security reasons (that's done elsewhere). Instead the use case is a quick check to make sure the token isn't expired / likely to be invalid.
I'm not using jwtVerify because I need this code to be synchronous.
I looked for a way to do this in the code but afaict it's not supported right now. Is that right or did I miss something?
Beta Was this translation helpful? Give feedback.
All reactions