library›Better Auth
Better Auth
authintermediate⏱ 25 min setup

Better Auth

Modern, full-featured auth library. Type-safe, plugin-based, framework-agnostic.

GitHub ↗Docs ↗Add to workspace →
Plain language
What is it?

A newer auth library with excellent TypeScript support and a plugin system. Handles sessions, OAuth, magic links, and more without locking you into any vendor.

Why use it at a hackathon?

When you want full control like Lucia but with better TypeScript ergonomics and built-in plugins for organizations, two-factor auth, and more.

Common use

Projects where type safety and data ownership matter — health platforms, justice tools, any app handling sensitive user data.

Tags
typescriptpluginssessionsoauthflexible
At a glance
Setup time: 25 minutes
Difficulty: intermediate
Skill: Intermediate. Cleaner API than Lucia. If you understand TypeScript and basic auth concepts, the setup is straightforward.
Impact context
Challenge domains
Justice & RightsCivic TechEducation & AccessHealth & Wellbeing
SDGs
Peace & JusticeReduced InequalitiesQuality EducationGood Health
Related components
Lucia Auth
Simple, lightweight authentication library. Full control, no vendor lock-in.…
›
Drizzle ORM
Lightweight TypeScript ORM. SQL-like syntax, zero dependencies.…
›
Prisma
Type-safe ORM. Auto-generated types, migrations, and studio.…
›
Neon
Serverless Postgres with branching and autoscaling.…
›
Go deeper
Better Auth Documentationdocs
Building with Better Auth?
Add it to your hackathon session workspace.
Add to workspace →