Skip to content

I found an error message "token has invalid claims: token is expired" #377

Closed Answered by oxisto
santichoks asked this question in Q&A
Discussion options

You must be logged in to vote

Ok got it. as mentioned, in this case you can use errors.Is(err, jwt.ErrTokenExpired) to check for an expired token.

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@santichoks
Comment options

@oxisto
Comment options

Answer selected by oxisto
@santichoks
Comment options

@oxisto
Comment options

@santichoks
Comment options

@oxisto
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
2 participants
Converted from issue

This discussion was converted from issue #376 on February 01, 2024 17:00.