Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cookies are not sent in requests to remotedev-server #2

Closed
jenschelkopf opened this issue Nov 9, 2016 · 1 comment
Closed

Cookies are not sent in requests to remotedev-server #2

jenschelkopf opened this issue Nov 9, 2016 · 1 comment

Comments

@jenschelkopf
Copy link

Cookies are not being sent in requests to remotedev-server, which makes it difficult utilize cookie based authorization with this library.

This is happening because the fetch library doesn't send cookies by default. Callers have to set {credentials: 'same-origin'}: https://fetch.spec.whatwg.org/#concept-request-credentials-mode

@zalmoxisus
Copy link
Owner

Implemented in redux-remotedev@0.3.0. Probably we could make it configurable (to use omit or include) in case some one need this.

Thanks for the suggestions!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants