1. Better Auth
Visit →Open source TypeScript auth library that keeps sessions and users in your own database, extended through plugins.
Cost shape: Free and open source. You pay only for the database and server it runs on.
Strengths
- ✓User and session tables sit in your database, so joins are ordinary SQL.
- ✓Plugin system covers passkeys, two factor and organizations without vendor lock-in.
- ✓Fully typed API surface, so misuse usually shows up at compile time.
Tradeoffs
- ✗You run and patch the auth code yourself, including security updates.
- ✗Login screens are your responsibility, since the library ships logic not UI.
- ✗Younger project, so APIs still move and older guides go stale quickly.