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)