Session not saved after login using passport-http
fouadsemaan opened this issue · comments
Once I am logged in, the req.user is no longer included in any following requests. I using the express-session and the passport session in that order. All I see in the cookie is the connect-sid. I am using the default Memory Store using passport-http. I see that it tries to store the user object session which disappears in any requests following the login.
I am using express 4.X.
"body-parser": "^1.15.1",
"connect-redis": "3.0.2",
"cookie-parser": "^1.4.3",
"express": "4.13.4",
"express-handlebars": "3.0.0",
"express-logger": "0.0.3",
"express-session": "^1.13.0",
"express-static": "^1.1.0",
"fs": "0.0.1-security",
"https": "^1.0.0",
"passport": "0.3.2",
"passport-http": "0.3.0"