I am trying to create a websocket server & I need to authenticate the clients. I can authenticate th...
d
I am trying to create a websocket server & I need to authenticate the clients. I can authenticate them in rest apis , how can i do it using Socket.io with supertokens..
r
Hey! You can make a JWT using the Session.cretateJWT function and use that as a way of auth for web socket.
d
I currently use session Verification for other modules. Do i need to modify others if i use jwt?
r
no. You can use JWT just for websocket connection and that can be independent of rest API session verification
d
ok .Thank you
7 Views