Skip to content
This repository has been archived by the owner on May 27, 2024. It is now read-only.

Commit

Permalink
Add proxy statement for user service
Browse files Browse the repository at this point in the history
  • Loading branch information
markpatton committed Oct 13, 2023
1 parent 92a2abb commit 8a9cd28
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/config/proxies.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 8a9cd28

Please sign in to comment.