when i click on sign in button in react project its error show in console

Viewed 16

login:1 Access to XMLHttpRequest at 'http://testapi.techenablers.info/api/auth/login/auth' from origin 'http://localhost:3000' 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.

0 Answers
Related