Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
p53 committed Dec 17, 2024
1 parent c1a17fb commit a1e2300
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 90 deletions.
8 changes: 3 additions & 5 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module github.com/gogatekeeper/gatekeeper

require (
github.com/Nerzal/gocloak/v12 v12.0.0
github.com/Nerzal/gocloak/v13 v13.9.0
github.com/PuerkitoBio/goquery v1.10.0
github.com/PuerkitoBio/purell v1.2.1
github.com/alicebob/miniredis/v2 v2.33.0
Expand Down Expand Up @@ -31,7 +31,7 @@ require (
go.uber.org/automaxprocs v1.6.0
go.uber.org/zap v1.27.0
golang.org/x/crypto v0.31.0
golang.org/x/net v0.30.0
golang.org/x/net v0.32.0
golang.org/x/oauth2 v0.23.0
golang.org/x/sync v0.10.0
gopkg.in/yaml.v2 v2.4.0
Expand Down Expand Up @@ -62,8 +62,7 @@ require (
github.com/go-logr/stdr v1.2.2 // indirect
github.com/go-task/slim-sprig/v3 v3.0.0 // indirect
github.com/gobwas/glob v0.2.3 // indirect
github.com/golang-jwt/jwt/v4 v4.5.0 // indirect
github.com/golang/glog v1.2.2 // indirect
github.com/golang-jwt/jwt/v5 v5.0.0 // indirect
github.com/google/flatbuffers v24.3.25+incompatible // indirect
github.com/google/go-cmp v0.6.0 // indirect
github.com/google/pprof v0.0.0-20241101162523-b92577c0c142 // indirect
Expand Down Expand Up @@ -102,7 +101,6 @@ require (
golang.org/x/sys v0.28.0 // indirect
golang.org/x/text v0.21.0 // indirect
golang.org/x/tools v0.26.0 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20240814211410-ddb44dafa142 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20241021214115-324edc3d5d38 // indirect
google.golang.org/grpc v1.67.1 // indirect
google.golang.org/protobuf v1.35.1 // indirect
Expand Down
89 changes: 10 additions & 79 deletions go.sum

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pkg/authorization/external_keycloak.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"context"
"time"

"github.com/Nerzal/gocloak/v12"
"github.com/Nerzal/gocloak/v13"
"github.com/gogatekeeper/gatekeeper/pkg/apperrors"
"github.com/gogatekeeper/gatekeeper/pkg/proxy/models"
)
Expand Down
2 changes: 1 addition & 1 deletion pkg/keycloak/proxy/handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import (
"strings"
"time"

"github.com/Nerzal/gocloak/v12"
"github.com/Nerzal/gocloak/v13"
oidc3 "github.com/coreos/go-oidc/v3/oidc"
"github.com/go-jose/go-jose/v4"
"github.com/go-jose/go-jose/v4/jwt"
Expand Down
2 changes: 1 addition & 1 deletion pkg/keycloak/proxy/middleware.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (
"net/url"
"time"

"github.com/Nerzal/gocloak/v12"
"github.com/Nerzal/gocloak/v13"
oidc3 "github.com/coreos/go-oidc/v3/oidc"
"github.com/gogatekeeper/gatekeeper/pkg/authorization"
"github.com/gogatekeeper/gatekeeper/pkg/constant"
Expand Down
2 changes: 1 addition & 1 deletion pkg/keycloak/proxy/misc.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (
"strings"
"time"

"github.com/Nerzal/gocloak/v12"
"github.com/Nerzal/gocloak/v13"
"github.com/cenkalti/backoff/v4"
oidc3 "github.com/coreos/go-oidc/v3/oidc"
"github.com/go-jose/go-jose/v4/jwt"
Expand Down
2 changes: 1 addition & 1 deletion pkg/keycloak/proxy/oauth_proxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"net/url"
"sync"

"github.com/Nerzal/gocloak/v12"
"github.com/Nerzal/gocloak/v13"
oidc3 "github.com/coreos/go-oidc/v3/oidc"
"github.com/gogatekeeper/gatekeeper/pkg/keycloak/config"
"github.com/gogatekeeper/gatekeeper/pkg/proxy/cookie"
Expand Down
2 changes: 1 addition & 1 deletion pkg/keycloak/proxy/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ import (

httplog "log"

"github.com/Nerzal/gocloak/v12"
"github.com/Nerzal/gocloak/v13"
proxyproto "github.com/armon/go-proxyproto"
backoff "github.com/cenkalti/backoff/v4"
oidc3 "github.com/coreos/go-oidc/v3/oidc"
Expand Down

0 comments on commit a1e2300

Please sign in to comment.