fix(navbar): update login redirect URI to home page
This commit is contained in:
parent
63db07b6ae
commit
1dd95af11c
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue