CORS issue - Access to XMLHttpRequest at 'url' from origin 'url' has been blocked by CORS policy: -- 2

Job ID: 34464723

Budget: $10 – $11 USD

We have a react application and are getting the following eror:

Access to XMLHttpRequest at 'https://url.com' from origin 'https://url' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: The value of the 'Access-Control-Allow-Origin' header in the response must not be the wildcard '*' when the request's credentials mode is 'include'. The credentials mode of requests initiated by the XMLHttpRequest is controlled by the withCredentials attribute.

If you are familar with this issue then please contact me.
Related categories: JavaScript Web Security DevOps