express-socket.io-session icon indicating copy to clipboard operation
express-socket.io-session copied to clipboard

Bypass shared session requirements

Open savoiebz opened this issue 4 years ago • 0 comments

I'm trying to bypass the middleware for a specific event but can't figure it out. I've tried adding the listener before the middleware declaration like one would do in ExpressJS but i'm still getting "No session found" message in the connection error event.

I want to create a backend script with socket.io-client that notifies users using SocketIO and those users have to be logged so the shared session works perfect for that part. Issue is with that script which need to bypass Shared Session.

Any help/idea?

Thank you

savoiebz avatar Mar 20 '20 22:03 savoiebz