You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 20, 2018. It is now read-only.
Observable.ajax does not recognize the withCredentials mode for CORS.
When run on Chrome, the above code yields the following:
XMLHttpRequest cannot load . A wildcard '*' cannot be used in the 'Access-Control-Allow-Origin' header when the credentials flag is true. Origin 'http://localhost:8080' is therefore not allowed access. The credentials mode of an XMLHttpRequest is controlled by the withCredentials attribute.
The solution offered by @neckaros in the above mentioned issue solves the problem...
Modifying the default settings to set withCredentials:
Issue #117 originally reported by @wizardwerdna, still occurring in rx-dom v7.0.3
Observable.ajax does not recognize the
withCredentials
mode for CORS.When run on Chrome, the above code yields the following:
The solution offered by @neckaros in the above mentioned issue solves the problem...
Modifying the default settings to set
withCredentials
:and forcing false is set to false after creatinng the XHR:
The text was updated successfully, but these errors were encountered: