Mongodb – `req.session.user` is `undefined` when using `express-session` and `connect-mongo`
I've created a react app that runs on port:3000 and an express app that runs on port:3001. I am using express-session and connect-mongo to handle user sessions. When I set a user session in /login it was recorded in MongoDB…