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
{{ message }}
This repository has been archived by the owner on Sep 28, 2021. It is now read-only.
Hi, I'm using Sails 0.11 framework and I already got passport implemented in my app through some login screens and so on. The user id is stored in req.session.passport.user variable and it works fine with the REST api.
My problem appears when it comes to use socket.io to retrieve data from the server. I cannot pass it the session ID or at least the logged user for Sails to process it and apply some security policies and filters.
So, my question is: is this module compatible with my situation?
Thanks.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi, I'm using Sails 0.11 framework and I already got
passport
implemented in my app through some login screens and so on. The user id is stored inreq.session.passport.user
variable and it works fine with the REST api.My problem appears when it comes to use
socket.io
to retrieve data from the server. I cannot pass it the session ID or at least the logged user for Sails to process it and apply some security policies and filters.So, my question is: is this module compatible with my situation?
Thanks.
The text was updated successfully, but these errors were encountered: