From 3bf5e5efa464470d8a53eaa2a10be2d165b34060 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn=20Friedrich=20Dreyer?= Date: Tue, 5 Sep 2023 12:57:01 +0200 Subject: [PATCH] actually use skip user info config option (#7216) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jörn Friedrich Dreyer --- services/proxy/pkg/command/server.go | 1 + 1 file changed, 1 insertion(+) diff --git a/services/proxy/pkg/command/server.go b/services/proxy/pkg/command/server.go index 3a5f0c8ea..c7b9fe3b6 100644 --- a/services/proxy/pkg/command/server.go +++ b/services/proxy/pkg/command/server.go @@ -367,6 +367,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,