-
Notifications
You must be signed in to change notification settings - Fork 420
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?
Please give me an example
Thanks..
Beta Was this translation helpful? Give feedback.
All reactions
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
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 errors.Is to check for the different error types.
Beta Was this translation helpful? Give feedback.
All reactions
-
👍 1
-
This is what i want exactly..
From where can i find this example??
Thanks a lot for helping..
Beta Was this translation helpful? Give feedback.
All reactions
-
Beta Was this translation helpful? Give feedback.