mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-03-22 01:12:04 -04:00
actually use skip user info config option (#7220)
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
This commit is contained in:
committed by
GitHub
parent
6d2d79ba1d
commit
7867841f7f
3
changelog/unreleased/fix-skip-user-info-option.md
Normal file
3
changelog/unreleased/fix-skip-user-info-option.md
Normal file
@@ -0,0 +1,3 @@
|
||||
Bugfix: actually pass PROXY_OIDC_SKIP_USER_INFO option to oidc client middleware
|
||||
|
||||
https://github.com/owncloud/ocis/pull/7220
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user