Theo's Typesafe CultTTC
Theo's Typesafe Cult3y ago
12 replies
nvegater

Authentication in Websockets

In the server side, how do you make sure the client is authenticated, given that Authorisation headers are not allowed in the ws protocol (not even in the first http handshake).

Analogue to that, in the client side, how do you authenticate with JWT Tokens ? Do you send the token on every web socket message ?
Was this page helpful?