diff --git a/bizmatch/src/app/services/keycloak-initializer.service.ts b/bizmatch/src/app/services/keycloak-initializer.service.ts index 9c36990..f744d4b 100644 --- a/bizmatch/src/app/services/keycloak-initializer.service.ts +++ b/bizmatch/src/app/services/keycloak-initializer.service.ts @@ -23,6 +23,7 @@ export class KeycloakInitializerService { initOptions: { onLoad: 'check-sso', silentCheckSsoRedirectUri: (window).location.origin + '/assets/silent-check-sso.html', + flow: 'implicit', }, // initOptions: { // pkceMethod: 'S256', @@ -30,8 +31,8 @@ export class KeycloakInitializerService { // checkLoginIframe: false, // }, }); - - logger.info(`--->${authenticated}`); + const token = await this.keycloakService.getToken(); + logger.info(`--->${authenticated}:${token}`); this.initialized = true; }