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 Dec 4, 2017. It is now read-only.
The current docs aren't very detailed about what withCredentials does. When we had this issue it was very hard to find what we needed to do. If the details are added it's more likely to turn up in a search.
The current docs aren't very detailed about what withCredentials does. When we had this issue it was very hard to find what we needed to do. If the details are added it's more likely to turn up in a search.
Current description:
https://angular.io/docs/ts/latest/api/http/index/RequestOptions-class.html#!#withCredentials-anchor
This comment explains it better: https://angular.io/docs/ts/latest/api/http/index/RequestOptions-class.html#!#withCredentials-anchor
XMLHttpRequest.withCredentials
Is a Boolean that indicates whether or not cross-site Access-Control requests should be made using credentials such as cookies or authorization headers. The default is false.
Note: This never affects same-site requests.
There are quite a few angular issues relating to withCredtials. https://github.com/angular/angular/issues?utf8=%E2%9C%93&q=is%3Aissue%20withCredentials
I just answered a question on reddit about this: https://www.reddit.com/r/Angular2/comments/63jw9z/cors_cookie_backend_dev_environment_setup/
Some more details would go along way on this.
The text was updated successfully, but these errors were encountered: