LogoIndie Hacker Hub
icon of Better Auth

Better Auth

The most comprehensive authentication library for TypeScript.

Introduction

Better Auth is a comprehensive authentication framework designed specifically for TypeScript developers. It offers a robust and flexible solution for implementing authentication in modern web applications. Key features include:

  • Framework Agnostic: Supports popular frameworks like React, Vue, Svelte, Astro, Solid, Next.js, Nuxt, Tanstack Start, Hono, and more.
  • Email & Password Authentication: Built-in support with session and account management.
  • Social Sign-on: Supports multiple OAuth providers including GitHub, Google, Discord, Twitter, and others.
  • Two Factor Authentication: Easy integration of multi-factor authentication to secure user accounts.
  • Multi Tenant Support: Manage organization members, teams, invitations, and access control.
  • Plugin Ecosystem: Extend functionality with official and community plugins.

Better Auth is ideal for developers who want to roll their own authentication system with confidence, leveraging TypeScript's type safety and modern development practices. It simplifies the authentication process while providing advanced features for security and scalability.

Use cases include building secure full-stack applications, SaaS platforms, and any web app requiring robust user authentication and management.

Information