mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-12-02 14:49:04 -05:00
actually use skip user info config option (#7220)
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
This commit is contained in:
1 parent
6d2d79ba1d
commit
7867841f7f
2 files changed
+4
No files matched your search
@@ -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