You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 28, 2021. It is now read-only.
I have seen alot of users face ""Passport was not initialized"" issue, when they implement custom strategy.
Sometime, user don't implement and passport.serializeUser and passport.deserializeUser methods
also, req.login is required for it to get call.
Request you do please update read me, where express session is getting updated with passport user values.
The text was updated successfully, but these errors were encountered:
you don't have to implement serializeUser/deserializeUser in your custom strategy.. You have to add the passport.session() middleware, if you don't add that middleware you can't use this module.
Hi team,
I have seen alot of users face ""Passport was not initialized"" issue, when they implement custom strategy.
Sometime, user don't implement and passport.serializeUser and passport.deserializeUser methods
also, req.login is required for it to get call.
Request you do please update read me, where express session is getting updated with passport user values.
The text was updated successfully, but these errors were encountered: