garmeeh / local-cors-proxy

Simple proxy to bypass CORS issues.
MIT License
328 stars 81 forks source link

Handle response cookies #25

Open ratsey opened 2 years ago

ratsey commented 2 years ago

Is there a way to redirect response cookies to localhost from the proxied host?

I have calls running perfectly from localhost during development, but the target returns a cookie that needs to be passed in future calls for authentication. Since I'm proxying the call, I imagine the response cookie domain is set to the proxy and not localhost so doesn't appear in the browser.