Skip to content

Commit

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

This reverts commit 49d8391.
  • Loading branch information
hackergil committed Aug 1, 2023
1 parent 49d8391 commit 9d596da
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 @@ -36,10 +36,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 @@ -125,7 +125,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 @@ -266,6 +266,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 9d596da

Please sign in to comment.