Answer the question
In order to leave comments, you need to log in
Why are sessions implemented in passportJS?
PassportJS has its own sessions that come as middleware: app.use(passport.session());
Why are they needed at all if there is an express-session? And I can access data not through req.user , but through req.session.passport.user .
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question