Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

backport: actually use skip user info config option #7220

Merged
merged 1 commit into from
Sep 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions changelog/unreleased/fix-skip-user-info-option.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Bugfix: actually pass PROXY_OIDC_SKIP_USER_INFO option to oidc client middleware

https://github.com/owncloud/ocis/pull/7220
1 change: 1 addition & 0 deletions services/proxy/pkg/command/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -361,6 +361,7 @@ func loadMiddlewares(ctx context.Context, logger log.Logger, cfg *config.Config,
oidc.WithOidcIssuer(cfg.OIDC.Issuer),
oidc.WithJWKSOptions(cfg.OIDC.JWKS),
)),
middleware.SkipUserInfo(cfg.OIDC.SkipUserInfo),
))
authenticators = append(authenticators, middleware.SignedURLAuthenticator{
Logger: logger,
Expand Down