-
Notifications
You must be signed in to change notification settings - Fork 420
Closed
Description
Having switched from github.com/dgrijalva/jwt-go to github.com/golang-jwt/jwt/v4 I still get token used before issued errors due to clock skew, even though @dgrijalva said this check would be removed from v4, in line with jwt spec. See
Lines 63 to 66 in 3f50a78
| if !c.VerifyIssuedAt(now, false) { | |
| vErr.Inner = fmt.Errorf("token used before issued") | |
| vErr.Errors |= ValidationErrorIssuedAt | |
| } |
However I see that check is still executed at dgrijalva/jwt-go#314 (comment). Is this dependent on #16 getting resolved? Until that's resolved can the VerifyIssuedAt check just be dropped? Or any other suggested workarounds?
miparnisari
Metadata
Metadata
Assignees
Labels
No labels