Groups
Groups
Sign in
Groups
Groups
nodejs
Conversations
About
Send feedback
Help
Do I need cookie-parser?
35 views
Skip to first unread message
joel
unread,
May 11, 2015, 9:56:18 PM
5/11/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to nod...@googlegroups.com
my express is using passport's local strategy.
i just noticed i don't use the cookie-parser middleware and everything seems to work fine.
The passport example app have it -
https://github.com/mjhea0/passport-local-express4/blob/master/app.js#L26
any ideas?
zladuric
unread,
May 12, 2015, 8:53:14 AM
5/12/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to nod...@googlegroups.com
Everything is working fine because most likely you're using a session middleware with passport which reads cookies on its own.
So if you don't need to store other data in the cookies, that's fine and you can go on without them.
joel
unread,
May 12, 2015, 2:14:03 PM
5/12/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to nod...@googlegroups.com
got it. thanks!
Reply all
Reply to author
Forward
0 new messages