Pull request #24: RED-6523 - multitenancy
Merge in SL/common-ui from RED-6523 to master * commit '3c3ae597c1c533ba9d5728ee633e8f60b80d5720': RED-6523 - multitenancy
This commit is contained in:
commit
97470bb723
@ -26,10 +26,13 @@ export class KeycloakStatusService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
createLoginUrlAndExecute() {
|
createLoginUrlAndExecute() {
|
||||||
window.location.href = this._keyCloakService.getKeycloakInstance().createLoginUrl({
|
const keycloakInstance = this._keyCloakService?.getKeycloakInstance();
|
||||||
redirectUri: this.createLoginUrl(),
|
if (keycloakInstance) {
|
||||||
idpHint: this._configService.values.OAUTH_IDP_HINT,
|
window.location.href = keycloakInstance.createLoginUrl({
|
||||||
});
|
redirectUri: this.createLoginUrl(),
|
||||||
|
idpHint: this._configService.values.OAUTH_IDP_HINT,
|
||||||
|
});
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
createLoginUrl() {
|
createLoginUrl() {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user