From 8a9cd285e2b49dd257106024ea2cea1fec4d8f8f Mon Sep 17 00:00:00 2001 From: Mark Patton Date: Fri, 13 Oct 2023 11:09:40 -0400 Subject: [PATCH] Add proxy statement for user service --- src/config/proxies.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/config/proxies.ts b/src/config/proxies.ts index bfda070..bbecf89 100644 --- a/src/config/proxies.ts +++ b/src/config/proxies.ts @@ -77,6 +77,14 @@ export default function ( } ); + app.all( + '/user*', + ensureAuthenticated, + function (req: Request, res: Response) { + apiProxy.web(req, res, { target: config.app.passCoreUrl }); + } + ); + app.all( '/policy*', ensureAuthenticated,