Authentication is painful… but it doesn’t have to be. In this video, we’ll build a complete authentication system using Supabase Auth + 16 – including Email/Password and Google Login (OAuth) – and you’ll finally understand how all the pieces fit together. 📂 Code 👉 Full source code ⏱️ Timestamps 00:00 - Intro + App Showcase 00:37 - Supabase in a Nutshell 00:49 - Create Your Supabase Project 01:52 - Supabase Auth UI 02:08 - Create NextJS App 02:53 - Build Homepage UI 03:59 - Email Password Pages + ServerClient 08:04 - AUth Form + BrowserClient 09:47 - Authentication Logic 12:49 - Further Improvements 14:33 - State Listeners + SignOut 16:08 - Google Login - OAuth Client 19:12 - Google Login - Implementation 20:37 - Proxy File 21:29 - Wrap up We’ll start from scratch: Create a Supabase project Wire it up to a fresh 16 app Build a clean Auth UI Implement secure Email/Password auth Add Google Login using an OAuth client in Google Cloud Finish with a proxy (middleware) file to protect routes in one central place By the end, you’ll not only have a production-ready auth flow, but you’ll also understand how all the pieces work together 🔧 Tech Stack Supabase Auth 16 (App Router) React TypeScript #Supabase #NextJS16 #Authentication #WebDev #FullStack #JavaScript











