http icon indicating copy to clipboard operation
http copied to clipboard

BrowserClient()..withCredentials = true don't send cookies when app is running with WebAssembly.

Open gblach opened this issue 10 months ago • 0 comments

I use BrowserClient()..withCredentials = true to send same-site request with cookies to the API. Everything works as intended when the web app uses JavaScript engine. But on WebAssembly engine the 'cookie' header is not sent with the request.

On the server side I have set Access-Control-Allow-Origin, Access-Control-Allow-Methods, Access-Control-Allow-Headers and Access-Control-Allow-Credentials headers.

gblach avatar Mar 27 '25 19:03 gblach