Passport.js session serialization vs passport-jwt with session:false when the load balancer already pins sticky sessions
I'm designing authentication for an Express app that will run behind a load balancer configured with sticky sessions (cookie-based affinity). Passport supports both approaches I'm weighing: the classic serializeUser / deserializeUser hooks backed by express-session , and the passport-jwt strategy with session: false so no server-side state is kept at all. My