Skip to content

Commit

Permalink
Revert "CXINT-2275: CDC \id_token\ missing in the Oauth token reque…
Browse files Browse the repository at this point in the history
…st (#17708)"

This reverts commit e3db0b9.
  • Loading branch information
hackergil committed Aug 1, 2023
1 parent e3db0b9 commit dfeb244
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions integration-libs/cdc/root/service/cdc-js.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ import {
} from 'rxjs';
import { filter, switchMap, take, tap } from 'rxjs/operators';
import { CdcConfig } from '../config/cdc-config';
import { CdcConsentsLocalStorageService } from '../consent-management';
import { CdcSiteConsentTemplate } from '../consent-management/model/index';
import { CdcReConsentEvent } from '../events';
import { CdcAuthFacade } from '../facade/cdc-auth.facade';
import { CdcReConsentEvent } from '../events';
import { CdcSiteConsentTemplate } from '../consent-management/model/index';
import { CdcConsentsLocalStorageService } from '../consent-management';

const defaultSessionTimeOut = 3600;
const setAccountInfoAPI = 'accounts.setAccountInfo';
Expand Down Expand Up @@ -124,7 +124,7 @@ export class CdcJsService implements OnDestroy {
(this.winRef.nativeWindow as { [key: string]: any })[
'__gigyaConf'
] = {
include: 'id_token, missing-required-fields',
include: 'id_token',
};
}
}
Expand Down Expand Up @@ -265,6 +265,7 @@ 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 dfeb244

Please sign in to comment.