flow: 'implicit'

This commit is contained in:
Andreas Knuth 2024-05-22 11:40:49 -05:00
parent 0b7e33612a
commit 7fdc87fb0b
1 changed files with 3 additions and 2 deletions

View File

@ -23,6 +23,7 @@ export class KeycloakInitializerService {
initOptions: { initOptions: {
onLoad: 'check-sso', onLoad: 'check-sso',
silentCheckSsoRedirectUri: (<any>window).location.origin + '/assets/silent-check-sso.html', silentCheckSsoRedirectUri: (<any>window).location.origin + '/assets/silent-check-sso.html',
flow: 'implicit',
}, },
// initOptions: { // initOptions: {
// pkceMethod: 'S256', // pkceMethod: 'S256',
@ -30,8 +31,8 @@ export class KeycloakInitializerService {
// checkLoginIframe: false, // checkLoginIframe: false,
// }, // },
}); });
const token = await this.keycloakService.getToken();
logger.info(`--->${authenticated}`); logger.info(`--->${authenticated}:${token}`);
this.initialized = true; this.initialized = true;
} }