Answer the question
In order to leave comments, you need to log in
Where does it store sessions on the passportJS client?
My Passport is set up flawlessly and everything works perfectly. The problem is that nginx is responsible for all content delivery, and the node is responsible only for the backend.
In my expectations, everything was so that all sorts of express-sessions save the session somewhere in the client's cookies and then give it to the node, but when successRedirect occurred, I did not see the session either in the cookies, or in the local storage, or in the session storage.
For any client, this session must be stored, otherwise what else could be the way to identify the user in the next request ???
What could be the problem?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question