Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Session not saved after login using passport-http #68

Closed
fouadsemaan opened this issue Mar 28, 2017 · 0 comments
Closed

Session not saved after login using passport-http #68

fouadsemaan opened this issue Mar 28, 2017 · 0 comments

Comments

@fouadsemaan
Copy link

fouadsemaan commented Mar 28, 2017

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"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant