[whatwg/fetch] Firefox deletes all cookies from fetch request! (#1182)

I am referring to my SO question --> https://stackoverflow.com/questions/34815845/how-to-send-cookies-with-node-fetch

TL;DR

When I try to use the `credentials` flag with either `same-origin` or `include` it includes the right cookies within the headers of my fetch request. However this only works in chrome. When I try this in Firefox it deletes the headers even if I set them manually with the `header` option.

I am using fetch with react to make a call to my backend. For more info pls read the StackOverflow question that I pinned at the top.

Hope someone could help me. I am going nuts here bcs I can't figure out why this is only not working in firefox.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/issues/1182

Received on Sunday, 28 February 2021 17:31:04 UTC