redirect to login when keycloak instance null

This commit is contained in:
Dan Percic 2023-07-07 13:24:08 +03:00
parent 30846478ed
commit da18c68a86

View File

@ -26,7 +26,8 @@ export class KeycloakStatusService {
window.location.href = url;
} else {
this.#logger.error('[KEYCLOAK] Instance not found, skip redirect to login');
this.#logger.error('[KEYCLOAK] Instance not found, redirect to tenant select');
window.location.href = this.createLoginUrl();
}
}