redux-axios-middleware
redux-axios-middleware copied to clipboard
Set Cookies from request
Hi gays! I'm using your middleware. When I use the action (get), server sending me Set-Cookie in requests header but it don`t saving in document cookies. How can I save it? can there be a special setting? I tried to use it: "withCredentials: true"
export function postLogin(data) { return { type: types.LOGIN, payload: { client: 'default', request: { url: /api/v1/login, method: "post", withCredentials: true, data } } }; }