Authentication
Authentication
Sign up, log in and sessions, with a hosted service (Clerk) and a library you run yourself (Better Auth).
7 lessonsAbout 56 minutes
Start the moduleLessons
- 1What Is Authentication?How apps know who you are, why login is hard to build, and how to choose an auth tool9 minTimelineMatching
- Clerk
- 2Clerk BasicsWhat Clerk is and how it handles sign up and log in for you4 minTimeline
- 3Clerk in Your AppSocial login, protecting pages and adding login buttons in code6 minQuiz
- 4Clerk Features and PricingWhat Clerk handles for you, its dashboard and its pricing4 minScenario
- Better Auth
- 5Better Auth BasicsWhat Better Auth is and how a self run auth library differs from a hosted service like Clerk9 minScenarioMatching
- 6Setting Up Better AuthInstall Better Auth in a Next.js app and connect it to your own database12 minTerminal
- 7Better Auth in Your AppSign users up, in and out, read the session and protect a page in Next.js12 minMatchingQuiz