Wednesday 26 August 2020

How to make express-session/serializeuser/etc. only apply to one passport Strategy

I have two GitHub passport strategies for two use cases. One doesn't need a session at all and one use mongoose and express-session to use a session. How can I make the session stuff and the serializeuser stuff only apply to one Strategy?

Submitted August 26, 2020 at 02:54PM by EddiesTech

No comments:

Post a Comment