Do I need cookie-parser?

26 views
Skip to first unread message

joel

unread,
May 11, 2015, 9:56:18 PM5/11/15
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. 

any ideas?

zladuric

unread,
May 12, 2015, 8:53:14 AM5/12/15
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 PM5/12/15
to nod...@googlegroups.com
got it. thanks!
Reply all
Reply to author
Forward
0 new messages