프론트(app.example.com)에서 API(api.example.com)를 쿠키 인증으로 호출하는데 계속 막힙니다.
Access to fetch ... has been blocked by CORS policy:
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'.
서버에 Access-Control-Allow-Origin: *와 credentials: true를 같이 줬는데도 안 됩니다. 쿠키도 요청에 안 실리는 것 같고요.
댓글 0