• Index : nodejs

    with credentials: true는 쿠키를 주고 받을 수 있게 하는 것

    When withCredentials is set to true, it is trying to send credentials or cookies along with the request. As that means another origin is potentially trying to do authenticated requests, the wildcard ("*") is not permitted as the "Access-Control-Allow-Origin" header.

    source: CORS: credentials mode is 'include'
    Yes, I know what you are thinking - yet another CORS question, but this time I'm stumped.

    So to start off, the actual error message:
    XMLHttpRequest cannot load http://localhost/Foo.API/token. T...

      #nodejs   hkmoon   1 month ago