CORS error when trying to load react application from React starter kit.
When I am trying to start the react application I am getting the below CORS error.
Access to fetch at 'https://pegahost:8443/prweb/PRRestService/oauth2/v1/token' from origin 'http://localhost:3000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
my EndPoint CORS policy for api/ mapping is also configured with "APIHeadersAllowed"
I am using the OOTB CableCO application in pega. ( the one that is provided inside the starter pack)
Can anyone please help me to fix this issue.