I am sending a req with a session cookie & session id (req.session.cookie & req.sessionID), but I can't exchange the session id for user information. I've added the passport authenticate middleware on the route that should retrieve the user.
Logging in works, the user gets saved to the database and a session is created in the session store, but I can't seem to get the user information.
I am sending a req with a session cookie & session id (req.session.cookie & req.sessionID), but I can't exchange the session id for user information. I've added the passport authenticate middleware on the route that should retrieve the user. Logging in works, the user gets saved to the database and a session is created in the session store, but I can't seem to get the user information.