Well, all of those are don but the session object is still undefined after
I login with Twitter (Twitter strategy is used). I don't see any cookie
express the express.sid one that is set for the site. Shouldn't there be
passport cookie too? Also, is the session object global and accessible from
Well, all of those are done but the session object is still undefined after
I login with Twitter (Twitter strategy is used). I don't see any cookie
except the express.sid one that is set for the site. Shouldn't there be
passport cookie too? Also, is the session object global and accessible from
I am not. Can you give me some hints what this session middleware should be?
On Wednesday, May 22, 2013 5:25:54 AM UTC-7, mscdex wrote:
On May 22, 1:19 am, Toddy Mladenov m...@toddysm.com wrote:
It seems the session object is not created but I have no idea why.
Shouldn't this be created
On May 23, 11:35 am, Toddy Mladenov m...@toddysm.com wrote:
I am not. Can you give me some hints what this session middleware should be?
Just look at the order of your `app.use()` calls.
According to passport's site, the order should be something like this:
app.configure(function() {
On May 22, 1:19 am, Toddy Mladenov m...@toddysm.com wrote:
It seems the session object is not created but I have no idea why.
Shouldn't this be created automatically when the user accesses the site?
Are you sure that the session middleware is being loaded before the
code in question?
--
--