zalmoxisus / redux-remotedev

Redux DevTools for production (web and React Native) with a highly flexible API.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cookies are not sent in requests to remotedev-server

jenschelkopf opened this issue · comments

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

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!