Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Complete Better Auth Crash Course - Advanced Authentication with Email, OAuth, 2FA, Passkeys, and Stripe Integration

Web Dev Simplified via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Master comprehensive authentication implementation in this extensive crash course covering Better Auth, a powerful authentication library for modern web applications. Build a complete authentication system from scratch, starting with basic setup using Shadcn UI components and Drizzle ORM for database management. Implement essential authentication features including email-based sign up and sign in functionality, then enhance security with Arcjet protection against common threats. Expand your authentication system with OAuth integration for social login options, email verification workflows, and password reset functionality. Explore advanced features like custom database fields, profile management interfaces, and session management capabilities. Implement sophisticated authentication patterns including account linking to connect multiple authentication methods, user account deletion, and two-factor authentication for enhanced security. Discover cutting-edge authentication technologies by integrating passkey support for passwordless authentication. Build administrative functionality with user management capabilities and organization-based authentication for multi-tenant applications. Complete the system by integrating Stripe for billing and subscription management. Throughout the course, learn to leverage Better Auth hooks for custom functionality like welcome emails and explore best practices for secure authentication implementation in production environments.

Syllabus

00:00 - Introduction
00:01:23 - Starting Code
00:02:43 - Adding Shadcn
00:03:46 - Drizzle Setup
00:07:58 - Better Auth Setup
00:15:35 - Email Sign Up
00:33:24 - Email Sign In
00:35:05 - Arcjet Security Setup
00:51:17 - OAuth Sign Up/Sign In
01:06:50 - Auth Redirects
01:08:07 - Email Verification
01:28:53 - Forgot Password
01:41:05 - Welcome Email Better Auth Hooks
01:45:48 - Custom Database Fields
01:54:23 - Profile Management Page
02:06:47 - Change/Set Password Page
02:16:11 - Session Management
02:26:37 - Account Linking
02:34:47 - Delete User Accounts
02:38:28 - Two Factor Auth Plugin
03:01:35 - Passkey Plugin
03:16:20 - Admin Plugin
03:40:48 - Organization Plugin
04:09:57 - Stripe Plugin

Taught by

Web Dev Simplified

Reviews

Start your review of Complete Better Auth Crash Course - Advanced Authentication with Email, OAuth, 2FA, Passkeys, and Stripe Integration

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.