How does sessions work together in PassportJS

后端 未结 1 1499
走了就别回头了
走了就别回头了 2020-12-22 14:29

I am having troubles to understand the login flow and signup flow in PassportJS and ExpressJS.What I really wanted to do is test if different sessions are being created. So

相关标签:
1条回答
  • 2020-12-22 15:02

    it depends on how you are handling sessions, most likely cookie, in which case you may need to refresh the browser, if that doesn't work. You're cookie expire date may not be set properly or you may not be deserializing properly. Read this for reference: https://scotch.io/tutorials/easy-node-authentication-setup-and-local

    0 讨论(0)
提交回复
热议问题