Passport.js in Express.js doesn’t work with Next.js
I am currently learning Express after knowing React and Next.js, and recently stumbled into this problem while using Passport.js with express-session. It would just not save my session’s user to the user, and I’m so confused why.