nodejs - passport.deserializeUser 가 호출되지 않는 문제

_·2020년 6월 1일
0

nodejs - blog 제작

목록 보기
2/6
post-custom-banner

https://stackoverflow.com/questions/26109556/req-session-passport-is-empty-deserializeuser-not-called-expressjs-passport/30293275#


On my local machine, I wasn't running over HTTPs so when cookie.secure is true, the session and user object were empty. When in dev mode and secure was false, it worked correctly.

개발할 때는 false로.


profile
_

0개의 댓글