From 56345fc5c595b6acd341d2319efc4ab3df2db2ac Mon Sep 17 00:00:00 2001 From: Andrei Date: Thu, 28 Nov 2024 14:09:00 +0200 Subject: [PATCH] TT-13658, added missing logger from provider initialization --- ee/middleware/upstreamoauth/middleware.go | 1 + 1 file changed, 1 insertion(+) diff --git a/ee/middleware/upstreamoauth/middleware.go b/ee/middleware/upstreamoauth/middleware.go index 7a08595f328..29373cfbb92 100644 --- a/ee/middleware/upstreamoauth/middleware.go +++ b/ee/middleware/upstreamoauth/middleware.go @@ -80,6 +80,7 @@ func (m *Middleware) ProcessRequest(_ http.ResponseWriter, r *http.Request, _ in upstreamOAuthProvider := Provider{ HeaderName: header.Authorization, AuthValue: payload, + Logger: m.Logger(), } headerName := provider.getHeaderName(m)