diff --git a/proxy/proxyUtils.js b/proxy/proxyUtils.js index 71c2bd6..4301a2b 100644 --- a/proxy/proxyUtils.js +++ b/proxy/proxyUtils.js @@ -41,9 +41,9 @@ let error_obj = { const decorateRequestHeaders = function () { return function (proxyReqOpts) { logger.info({message: `adding headers in the request ${proxyReqOpts.path}`}); - if (userCreate === proxyReqOpts.path || groupCreate === proxyReqOpts.path) { + // if (userCreate === proxyReqOpts.path || groupCreate === proxyReqOpts.path) { proxyReqOpts.headers.Authorization = 'Bearer ' + Authorization; - } + // } return proxyReqOpts; } }