Skip to content

I would like to verify JWT signature and exp time but not nbf, Is there a way to do so ? #494

Answered by panva
geekyWebDev asked this question in Q&A
Discussion options

You must be logged in to vote

When it comes to validating the JWT Claims Set there's no way to omit a particular timestamp claim validation.

You can obviously just do compactVerify to verify the signature and then process the entire claims set on your own.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by geekyWebDev
Comment options

You must be logged in to vote
1 reply
@panva
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants