In this video, I walk through adding authentication to a real SvelteKit app using Better Auth and Drizzle, covering magic links, email/password, Google OAuth, and protected routes step by step.
Code: https://github.com/thitemple/svelte-kit-better-auth-demo
00:00 Introduction to Authentication with ATE and Better Auth
03:31 Configuring Better Auth with Drizzle
08:47 Implementing Magic Link Authentication
15:45 Setting Up Email and Password Authentication
20:56 Implementing Validation for Sign-In
24:14 Email Verification Process
29:10 Password Reset Functionality
34:19 Integrating Google Sign-In
38:00 Conclusion and Summary
Say hi / more
• ✉️ Newsletter & notes: https://ttemp.link/me
• 🦋 Bsky: https://ttemp.link/bsky
• ❎ X (Twitter): https://ttemp.link/x