Question
HCLTech
US
Last activity: 1 Jun 2021 8:18 EDT
Unable to establish connection to Pega with pega React component
I'm unable to establish connection to Pega with pega-React component, getting the below error.
"has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource."
APIHeadersAllowed (Cross Origin Resource Sharing) is unmodified to allow all the origin and mapped to api/ endpoint in Endpoint-CORS policy mapping.