-
I have a use case where I refresh the access token using the refresh token, I need to check that both token have the same userId in the claims in order to allow the refresh, how can I do that? |
Beta Was this translation helpful? Give feedback.
Answered by
oSethoum
Apr 14, 2023
Replies: 2 comments
-
found it paseto.NewParserWithoutExpiryCheck() |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
oSethoum
-
You don't have to use the "without expiry check" parser to check additional claims (only use that one if your token doesn't have an expiry claim). You can call |
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
found it