From 62bad94343670540dff2d4e3cfb69c65dddb7c3d Mon Sep 17 00:00:00 2001 From: Matthieu Haineault Date: Fri, 19 Dec 2025 10:00:50 -0500 Subject: [PATCH] feat(redirect_url): moved redirect url to .env file --- .../authentication/controllers/auth.controller.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/identity-and-account/authentication/controllers/auth.controller.ts b/src/identity-and-account/authentication/controllers/auth.controller.ts index 43c9397..0b09814 100644 --- a/src/identity-and-account/authentication/controllers/auth.controller.ts +++ b/src/identity-and-account/authentication/controllers/auth.controller.ts @@ -12,8 +12,8 @@ export class AuthController { @Get('/callback') @UseGuards(OIDCLoginGuard) loginCallback(@Req() req: Request, @Res() res: Response) { - // res.redirect('http://10.100.251.2:9011/#/login-success'); - res.redirect('http://localhost:9000/#/login-success'); + res.redirect('REDIRECT_URL_STAGING'); + // res.redirect('REDIRECT_URL_DEV'); } @Get('/me')