flow: 'implicit'
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user