Skip to content

Commit

Permalink
CXINT-2275: CDC id_token missing in the Oauth token request (#17704)
Browse files Browse the repository at this point in the history
  • Loading branch information
SherwinVarghese authored Aug 1, 2023
1 parent 2550ffb commit 49d8391
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions integration-libs/cdc/root/service/cdc-js.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ import {
} from 'rxjs';
import { filter, switchMap, take, tap } from 'rxjs/operators';
import { CdcConfig } from '../config/cdc-config';
import { CdcAuthFacade } from '../facade/cdc-auth.facade';
import { CdcReConsentEvent } from '../events';
import { CdcSiteConsentTemplate } from '../consent-management/model/index';
import { CdcConsentsLocalStorageService } from '../consent-management';
import { CdcSiteConsentTemplate } from '../consent-management/model/index';
import { CdcReConsentEvent } from '../events';
import { CdcAuthFacade } from '../facade/cdc-auth.facade';

const defaultSessionTimeOut = 3600;
const setAccountInfoAPI = 'accounts.setAccountInfo';
Expand Down Expand Up @@ -125,7 +125,7 @@ export class CdcJsService implements OnDestroy {
(this.winRef.nativeWindow as { [key: string]: any })[
'__gigyaConf'
] = {
include: 'id_token',
include: 'id_token, missing-required-fields',
};
}
}
Expand Down Expand Up @@ -266,7 +266,6 @@ export class CdcJsService implements OnDestroy {
return this.invokeAPI('accounts.login', {
loginID: email,
password: password,
include: 'missing-required-fields',
ignoreInterruptions: ignoreInterruptions,
...(context && { context: context }),
sessionExpiry: sessionExpiration,
Expand Down

0 comments on commit 49d8391

Please sign in to comment.