NextAuth v5 Demo

Comprehensive authentication demo with multiple providers, account linking, and secure session management.

Features

Everything you need for modern authentication

Credential Authentication

Secure email/password authentication with bcrypt hashing

Google OAuth

Sign in with Google for seamless authentication

Account Linking

Link multiple authentication methods to one account

Protected Routes

Secure pages with middleware-based authentication

Tech Stack

Built with modern technologies

Next.js 14

NextAuth v5

Prisma

Supabase

Tailwind CSS

TypeScript