How can I decrypt a JWT payload if the token is expired? #680
Unanswered
LucaIgnatescu
asked this question in
Q&A
Replies: 1 comment
-
I've provided means to access the parsed JWT payload attached to all |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The workaround I found was not specifying an exp claim, and calling decryptJWT twice, first with a maxTokenAge, and then again without one in case of an ERR_JWT_EXPIRED error. Is there any better way to do this, ideally with a jose function directly?
Beta Was this translation helpful? Give feedback.
All reactions