flow: 'implicit'
This commit is contained in:
parent
0b7e33612a
commit
7fdc87fb0b
|
|
@ -23,6 +23,7 @@ export class KeycloakInitializerService {
|
|||
initOptions: {
|
||||
onLoad: 'check-sso',
|
||||
silentCheckSsoRedirectUri: (<any>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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue