Friday, 26 May 2017

Error with Express CORS withCredentials

Cors module have a bug related to the header option withCredentials, on pre-flight. The bug is already reported as an issue in Github.

Http Response

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at ‘http://localhost:3000’. (Reason: Credential is not supported if the CORS header ‘Access-Control-Allow-Origin’ is ‘*’).

The problem still persists, and I tested every option without luck.



via Hery Martin

No comments:

Post a Comment