fix(navbar): update login redirect URI to home page

This commit is contained in:
Jan-Marlon Leibl 2025-03-05 11:30:49 +01:00
parent 63db07b6ae
commit 1dd95af11c
Signed by: jleibl
GPG key ID: 300B2F906DC6F1D5

View file

@ -17,7 +17,7 @@ export class NavbarComponent {
login() { login() {
try { try {
const baseUrl = window.location.origin; const baseUrl = window.location.origin;
this.keycloakService.login({ redirectUri: `${baseUrl}/login/success` }); this.keycloakService.login({ redirectUri: `${baseUrl}/home` });
} catch (error) { } catch (error) {
console.error('Login failed:', error); console.error('Login failed:', error);
} }