Visitar URL original
Fix error message for future issued tokens (#303) · go-jose/go-jose@dd39a41 · GitHub
Skip to content

Commit dd39a41

Browse files
authored
Fix error message for future issued tokens (#303)
Fixes #301
1 parent 13b7118 commit dd39a41

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎jwt/errors.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ var ErrNotValidYet = errors.New("go-jose/go-jose/jwt: validation failed, token n
4747
var ErrExpired = errors.New("go-jose/go-jose/jwt: validation failed, token is expired (exp)")
4848

4949
// ErrIssuedInTheFuture indicates that the iat field is in the future.
50-
var ErrIssuedInTheFuture = errors.New("go-jose/go-jose/jwt: validation field, token issued in the future (iat)")
50+
var ErrIssuedInTheFuture = errors.New("go-jose/go-jose/jwt: validation failed, token issued in the future (iat)")
5151

5252
// ErrInvalidContentType indicates that token requires JWT cty header.
5353
var ErrInvalidContentType = errors.New("go-jose/go-jose/jwt: expected content type to be JWT (cty header)")

0 commit comments

Comments
 (0)