Token has invalid claims: token is expired #372
-
How do i exactly look for the error? What does it mean that token has invalid claims? If the token has just expired, i would like to issue a new token. But it has invalid key or anything else, i cant issue a new token. How do i check for errors? Thanks.. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
I am not 100 % sure, if I understand your problem correctly, but if you are looking for a way to differentiate between different error messages coming from the parser, you can have a look at our examples: Lines 164 to 189 in 4d0edcd Basically, you can use |
Beta Was this translation helpful? Give feedback.
I am not 100 % sure, if I understand your problem correctly, but if you are looking for a way to differentiate between different error messages coming from the parser, you can have a look at our examples:
jwt/example_test.go
Lines 164 to 189 in 4d0edcd