Better Auth
The most complete TypeScript auth library — everything in your project, not an external service.
Overview
The agent wires it into any framework (Next, Astro, Hono...) and any database via adapters; plugins add magic links, passkeys and more in a few lines.
Who Is This For?
- Full auth without a paid external service
- Social logins, sessions and 2FA fast
- Multi-tenant with organizations and roles
- Complete ownership of user data
Installation
npm install better-auth Explore AI Tools
Discover the best AI tools that complement your skills
Read AI & Design Articles
Tips and trends in the world of design and AI
Related Servers
Snyk Security Scan
Detect vulnerabilities in your dependencies and application code. Get actionable remediation advice and automatic fix pull requests.
SonarQube Code Quality
Run continuous code quality and security analysis to catch bugs, code smells, and vulnerabilities before they reach production.
OWASP ZAP Security Testing
Perform automated web application security testing to find common vulnerabilities like XSS, injection flaws, and misconfigurations.