diff --git a/projects/lib/src/oauth-service.ts b/projects/lib/src/oauth-service.ts index aa699704..1cc2e682 100644 --- a/projects/lib/src/oauth-service.ts +++ b/projects/lib/src/oauth-service.ts @@ -901,7 +901,8 @@ export class OAuthService extends AuthConfig implements OnDestroy { if (this.oidc && tokenResponse.id_token) { this.processIdToken( tokenResponse.id_token, - tokenResponse.access_token + tokenResponse.access_token, + grantType !== 'password' ).then((result) => { this.storeIdToken(result); resolve(tokenResponse);