From 536f437cb98a52053409679b105e0ed16f002f28 Mon Sep 17 00:00:00 2001 From: "Felix T.J. Dietrich" Date: Tue, 15 Oct 2024 23:31:37 +0200 Subject: [PATCH] try login-required --- webapp/public/silent-check-sso.html | 2 +- webapp/src/app/core/security/keycloak.service.ts | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/webapp/public/silent-check-sso.html b/webapp/public/silent-check-sso.html index 2378975e..b3bd540d 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 f947f25f..e7c8a28c 100644 --- a/webapp/src/app/core/security/keycloak.service.ts +++ b/webapp/src/app/core/security/keycloak.service.ts @@ -30,9 +30,10 @@ export class KeycloakService { async init() { const authenticated = await this.keycloak.init({ - onLoad: 'check-sso', - silentCheckSsoRedirectUri: window.location.origin + '/silent-check-sso.html', - silentCheckSsoFallback: false + onLoad: 'login-required' + // onLoad: 'check-sso', + // silentCheckSsoRedirectUri: window.location.origin + '/silent-check-sso.html', + // silentCheckSsoFallback: false }); if (!authenticated) {