NextJS Two-factor authentication (2FA) with NextAuth.js v5. Getting Started First, run the development server: npm run dev # or yarn dev # or pnpm dev # or bun dev Open http://localhost:3000 with your browser to see the application.