Fork me on GitHub
#pedestal
<
2021-11-02
>
Fahd El Mazouni10:11:52

Hi ! did anyone have to deal with websocket auth on pedestal with jetty ? chrome doesn't put any cookies on the upgrade request and I have no idea how to make it do that. I really want to avoid putting the session cookie in websocket request query string. any help would be much appreciated

thumbnail10:11:34

It seems common to just send the auth string as the first message on the socket, and close the socket when the client isn't authenticated

👍 2