-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support passing CookieJar to WebSocket through Params #1226
Comments
Thanks for reporting this! Looking at the current websocket connection code, I can't find any mention of cookies 😞 We need to fix this, though at this point I'm not sure if it wouldn't be a medium-sized breaking change rather than a bugfix, if we just started automatically using the global VU cookie jar 🤦♂️ So maybe we should just add the option to specify one manually? In either case, until we fix this, it seems like the only workaround for this issue is to manually specify the |
Thanks for that, with that workaround, it requires changes to the code on the websocket listener to take the cookies from the header as opposed to the Cookie Jar depending on how the server code was Hope this makes it into a bugfix version soon! |
fixed by #2193 |
The ws library is not passing the Cookie jar to the Websocket connection.
The server we have is using the cookie in the request to pull out the necessary variables to establish the websocket
The underlying Go library seems to support it but it is ignored and dropped when establishing the WS.
It would be create to support it.
The text was updated successfully, but these errors were encountered: