diff --git a/webapp/public/silent-check-sso.html b/webapp/public/silent-check-sso.html index b3bd540d..2378975e 100644 --- a/webapp/public/silent-check-sso.html +++ b/webapp/public/silent-check-sso.html @@ -1,7 +1,7 @@ diff --git a/webapp/src/app/core/security/keycloak.service.ts b/webapp/src/app/core/security/keycloak.service.ts index 85e28136..1503e372 100644 --- a/webapp/src/app/core/security/keycloak.service.ts +++ b/webapp/src/app/core/security/keycloak.service.ts @@ -31,8 +31,8 @@ export class KeycloakService { async init() { const authenticated = await this.keycloak.init({ onLoad: 'check-sso', - silentCheckSsoRedirectUri: environment.clientUrl + '/silent-check-sso.html', - silentCheckSsoFallback: false + silentCheckSsoRedirectUri: window.location.origin + '/silent-check-sso.html' + // silentCheckSsoFallback: false }); if (!authenticated) {