Authentication while using Web Socket Server. #88
Unanswered
Coder-Vasen
asked this question in
Q&A
Replies: 0 comments
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 am using lucia-auth for the authentication which is actually a server side authentication library. I was trying to create a Web Socket Server and tried to check for the authentication of the user using trpc context. But I can't able to access the data of
locals
. We can access the RequestEvent intrpc-handler
provided by trpc-sveltekit. How to do the same in Web Socket Servers?. I know web sockets is experimental. It would be a great help to know any other ways.Beta Was this translation helpful? Give feedback.
All reactions