September 30, 2019 by AndyYou can use Passport.js with Next.js 9You just have to pretend that Next API routes are Express