Better Auth Overview Better Auth is a framework-agnostic TypeScript authentication library. It handles email/password, OAuth (Google, GitHub, Discord, etc.), magic links, two-factor auth, sessions, and organization/team management. One library, any framework, any database. Instructions Step 1: Setup Step 2: Server Configuration Step 3: API Route Step 4: Client SDK Step 5: Protect Routes Guidelines - Better Auth works with any database via adapters (Prisma, Drizzle, Kysely, raw SQL). - Run to create database migrations for auth tables. - For multi-tenancy, use the organization plugin — handles…