Skip to content

Commit 1a7458e

Browse files
committed
Merge branch 'master' into pr/loganintech/528
2 parents 4f0668d + 13d6a79 commit 1a7458e

5 files changed

Lines changed: 12 additions & 8 deletions

File tree

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,16 @@
44

55
Coming soon! Please document any work in progress here as part of your PR. It will be moved to the next tag when released.
66

7+
## v0.45.0
8+
79
- Implement a Discord provider that uses `Username` as the username to match against in the `whiteList` config
810
- Or uses `Username#Discriminator` if the Discriminator is present
911
- Or uses ID if `discord_use_ids` is set
1012

13+
## v0.44.0
14+
15+
- migrate to github.com/golang-jwt/jwt/v4
16+
1117
## v0.43.0
1218

1319
- support multi-platform / multi-arch builds for published Docker images including `linux/amd64` and `linux/arm64`

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ toolchain go1.23.2
66

77
require (
88
github.com/go-viper/mapstructure/v2 v2.4.0
9-
github.com/golang-jwt/jwt v3.2.2+incompatible
109
github.com/google/go-cmp v0.7.0
1110
github.com/gorilla/sessions v1.4.0
1211
github.com/julienschmidt/httprouter v1.3.0
@@ -29,7 +28,6 @@ require (
2928
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
3029
github.com/dgryski/go-gk v0.0.0-20200319235926-a69029f61654 // indirect
3130
github.com/fsnotify/fsnotify v1.9.0 // indirect
32-
github.com/golang-jwt/jwt/v5 v5.2.3
3331
github.com/gorilla/securecookie v1.1.2 // indirect
3432
github.com/influxdata/tdigest v0.0.1 // indirect
3533
github.com/josharian/intern v1.0.0 // indirect
@@ -49,3 +47,5 @@ require (
4947
golang.org/x/text v0.27.0 // indirect
5048
gopkg.in/yaml.v3 v3.0.1 // indirect
5149
)
50+
51+
require github.com/golang-jwt/jwt/v4 v4.5.2

go.sum

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,8 @@ github.com/fsnotify/fsnotify v1.9.0 h1:2Ml+OJNzbYCTzsxtv8vKSFD9PbJjmhYF14k/jKC7S
1212
github.com/fsnotify/fsnotify v1.9.0/go.mod h1:8jBTzvmWwFyi3Pb8djgCCO5IBqzKJ/Jwo8TRcHyHii0=
1313
github.com/go-viper/mapstructure/v2 v2.4.0 h1:EBsztssimR/CONLSZZ04E8qAkxNYq4Qp9LvH92wZUgs=
1414
github.com/go-viper/mapstructure/v2 v2.4.0/go.mod h1:oJDH3BJKyqBA2TXFhDsKDGDTlndYOZ6rGS0BRZIxGhM=
15-
github.com/golang-jwt/jwt v3.2.2+incompatible h1:IfV12K8xAKAnZqdXVzCZ+TOjboZ2keLg81eXfW3O+oY=
16-
github.com/golang-jwt/jwt v3.2.2+incompatible/go.mod h1:8pz2t5EyA70fFQQSrl6XZXzqecmYZeUEB8OUGHkxJ+I=
17-
github.com/golang-jwt/jwt/v5 v5.2.3 h1:kkGXqQOBSDDWRhWNXTFpqGSCMyh/PLnqUvMGJPDJDs0=
18-
github.com/golang-jwt/jwt/v5 v5.2.3/go.mod h1:pqrtFR0X4osieyHYxtmOUWsAWrfe1Q5UVIyoH402zdk=
15+
github.com/golang-jwt/jwt/v4 v4.5.2 h1:YtQM7lnr8iZ+j5q71MGKkNw9Mn7AjHM68uc9g5fXeUI=
16+
github.com/golang-jwt/jwt/v4 v4.5.2/go.mod h1:m21LjoU+eqJr34lmDMbreY2eSTRJ1cv77w39/MY0Ch0=
1917
github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M=
2018
github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8=
2119
github.com/google/go-cmp v0.7.0/go.mod h1:pXiqmnSA92OHEEa9HXL2W4E7lf9JzCmGVUdgjX3N/iU=

pkg/cfg/cfg.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import (
2727
"strings"
2828

2929
"github.com/go-viper/mapstructure/v2"
30-
"github.com/golang-jwt/jwt/v5"
30+
"github.com/golang-jwt/jwt/v4"
3131
"github.com/kelseyhightower/envconfig"
3232
"github.com/spf13/viper"
3333
securerandom "github.com/theckman/go-securerandom"

pkg/jwtmanager/jwtmanager.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import (
2121
"strings"
2222
"time"
2323

24-
jwt "github.com/golang-jwt/jwt"
24+
jwt "github.com/golang-jwt/jwt/v4"
2525
"go.uber.org/zap"
2626

2727
"github.com/vouch/vouch-proxy/pkg/cfg"

0 commit comments

Comments
 (0)