Replies: 2 comments
-
You just have to pass the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I need a way to authenticate users. I want to disconnect a user immediately on connect based on query parameters.
This can be done in node express-ws library, it can be done by handling the on-upgrade handler -
[https://stackoverflow.com/questions/59070321/websockets-token-authentication-using-middleware-and-express-in-node-js/59314360#59314360](Node Websocket Auth).
A code snippet would be great
Beta Was this translation helpful? Give feedback.
All reactions