Open Extarys opened 1 month ago
I cannot seem to replicate the issue with credentials: 'include'
not being forwarded to the fetch request. Could you share a reproduction repository demonstrating when this occurs?
I made a mistake with the httpLink
export, I will need to fix that.
I don't have much time right now, but I might later this week. At least it's working with what I come up with and if someone else randomly has this issue, this ticket might enlighten them.
Link : https://ap0nia.github.io/eden-query/eden-query/cors.html
The current example illustration how CORS works with react but not with Svelte.
Using typescript, I found I can put
credentials: 'includes'
in the following places:I was finally able to send cookies when using mutations with:
Note that this involves not using
event.fetch
, not sure what are the implications when not doing SPA though.