jfromaniello / passport.socketio

access passport.js authenticated user information from socket.io connection
655 stars 81 forks source link

Loguot method #101

Closed retyui closed 6 years ago

retyui commented 9 years ago

If the user clicked to logout the site session is destroyed, but there is no method that can be break the connection

BlaM commented 8 years ago

... and socket.request.logged_in remains to be true

Is there an official way to detect that the user has logged out (maybe even in another browser tab?)

djskinner commented 7 years ago

Did anyone ever find a solution to this?

In my app sockets are for authenticated users only. If they sign out the socket needs to be killed too.

BlaM commented 6 years ago

Is there a solution to this, yet?

retyui commented 6 years ago

No