You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 in trpc-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.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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