-
Notifications
You must be signed in to change notification settings - Fork 22
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
TypeError: Cannot read property 'passport' of undefined #7
Comments
hm, can't reproduce - try again, there were some changes recently. make sure your server.js file matches the example app, which was also recently changed. if still buggy, re-open |
I'm not using that, but a minimal one from the README:
|
git the latest push a shot, a3da0e6 |
You know what, I hit this issue too just recently - and there was no reason it should have been happening, so I just ran |
No cigar, using git. |
I made some changes to my server.js and it works:
|
Had the same issue, uncommented these # Uncomment and supply secret to add Derby session handling
# Derby session middleware creates req.session and socket.io sessions
.use(express.cookieParser())
.use(store.sessionMiddleware
secret: process.env.SESSION_SECRET || 'YOUR SECRET HERE'
cookie: {maxAge: ONE_YEAR}
) Does this need to be added to the documentation? Thanks for the derby-auth btw. |
oh those are definitely required, i'll add them to the documentation |
The text was updated successfully, but these errors were encountered: