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:
Juliusz Chroboczek
2023-12-10 00:37:32 +01:00
parent 002d519f91
commit 27e502e63c
4 changed files with 40 additions and 40 deletions
+1 -1
View File
@@ -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