Upgrade to go-jwt v5.
A token with no "sub" field is now treated just like one with an empty "sub". In addition, all times are treated with a slack of 5s.
This commit is contained in:
@@ -4,7 +4,7 @@ go 1.19
|
||||
|
||||
require (
|
||||
github.com/at-wat/ebml-go v0.17.0
|
||||
github.com/golang-jwt/jwt/v4 v4.5.0
|
||||
github.com/golang-jwt/jwt/v5 v5.2.0
|
||||
github.com/gorilla/websocket v1.5.0
|
||||
github.com/jech/cert v0.0.0-20210819231831-aca735647728
|
||||
github.com/jech/samplebuilder v0.0.0-20221109182433-6cbba09fc1c9
|
||||
|
||||
Reference in New Issue
Block a user