fix: 500 when loggin in

This commit is contained in:
Constantin Simonis 2025-02-19 11:59:36 +01:00
parent 5afdbad461
commit a091387c1c
No known key found for this signature in database
GPG key ID: 758DD9C506603183
3 changed files with 4 additions and 4 deletions

View file

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