fix: 500 when loggin in
This commit is contained in:
		
					parent
					
						
							
								5afdbad461
							
						
					
				
			
			
				commit
				
					
						a091387c1c
					
				
			
		
					 3 changed files with 4 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -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);
 | 
			
		||||
    }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Reference in a new issue