From 1dd95af11ceabb269b56cb9189c64bf24f0baf7d Mon Sep 17 00:00:00 2001 From: Jan-Marlon Leibl Date: Wed, 5 Mar 2025 11:30:49 +0100 Subject: [PATCH] fix(navbar): update login redirect URI to home page --- frontend/src/app/shared/components/navbar/navbar.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/app/shared/components/navbar/navbar.component.ts b/frontend/src/app/shared/components/navbar/navbar.component.ts index 5014fec..663c655 100644 --- a/frontend/src/app/shared/components/navbar/navbar.component.ts +++ b/frontend/src/app/shared/components/navbar/navbar.component.ts @@ -17,7 +17,7 @@ export class NavbarComponent { login() { try { const baseUrl = window.location.origin; - this.keycloakService.login({ redirectUri: `${baseUrl}/login/success` }); + this.keycloakService.login({ redirectUri: `${baseUrl}/home` }); } catch (error) { console.error('Login failed:', error); }