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
I don't see any way currently to set withCredentials=true on BrowserClient so that I can send cookies across domains (this is especially important in dev as I'm developing on one server and the dart client is on another server which I believe is a common use-case scenario).
What steps will clearly show the issue / need for enhancement?
1: I can easily allow cross-domain communication by setting CORS headers on the server side, as soon as I want to send back a cookie from the server to maintain state on the client side, I can't do it. I've looked at HTML5 localstorage, but that's not secure, I need to be able to set Cookies with HttpOnly and Secure flags so that JavaScript can't access it.
2: I see angular.dart made provision for the withCredentials flag to allow sending cookies across domains.
What is the current output?
Seeing cookie headers coming back from the server, but not on the request.
What would you like to see instead?
Seeing cookie headers on both the request and response.
What version of the product are you using? On what operating system?
Dart 1.9
Originally opened as dart-lang/sdk#23088
This issue was originally filed by [email protected]
I don't see any way currently to set withCredentials=true on BrowserClient so that I can send cookies across domains (this is especially important in dev as I'm developing on one server and the dart client is on another server which I believe is a common use-case scenario).
What steps will clearly show the issue / need for enhancement?
1: I can easily allow cross-domain communication by setting CORS headers on the server side, as soon as I want to send back a cookie from the server to maintain state on the client side, I can't do it. I've looked at HTML5 localstorage, but that's not secure, I need to be able to set Cookies with HttpOnly and Secure flags so that JavaScript can't access it.
2: I see angular.dart made provision for the withCredentials flag to allow sending cookies across domains.
What is the current output?
Seeing cookie headers coming back from the server, but not on the request.
What would you like to see instead?
Seeing cookie headers on both the request and response.
What version of the product are you using? On what operating system?
Dart 1.9
Please provide any additional information below.
See my StackOverflow post: http://stackoverflow.com/questions/29427203/dart-browserclient-post-not-including-my-cookies
The text was updated successfully, but these errors were encountered: