Set-cookie header fails in expo web


I am using react native for web with expo. My web authentication flow uses HttpOnly cookies.

While I am receiving responses from my server with the ‘Set-cookie’ header, no cookie is actually being set. No cookies whatsoever appear in the chrome application panel, nor does the authentication flow work.

I have used this exact same flow (almost the same code) in a regular react app, so I am confused as to why it does not work in expo web.

I am aware that cookies are not currently supported by expo. Does this extend to expo web as well? I thought that if chrome received a ‘Set-cookie’ header, it would do so regardless of expo. Perhaps this is not the case.

If true, is there any workaround? I considered intercepting the cookies on the response and storing manually, but this is thwarted by the fact that they are HttpOnly.