talira

Compare

Auth.jsBetter AuthClerk
What it isAuthentication for the Web, formerly NextAuth.jsThe most comprehensive authentication framework for TypeScriptDrop-in authentication and user management with prebuilt UI components
KindOpen sourceOpen coreSaaS
Trust0.550.840.63
Stars2838930785—
Last commit2026-07-222026-11-19—
LicenceISCMITproprietary
PricingFreeFree tier, from $20/monthFree tier, from $25/month
Free tierYesYesYes
Self-hostableYesYesNo
Ways to run it———
SOC 2——Yes
HIPAA——Yes
SSO——Yes
API——Yes
PluginsYesYesNo
MCP server——Yes
CompanyBetter Auth
Seed, 2025
Better Auth
Seed, 2025
Clerk
Series C
Features
  • OAuth 2.0 and OIDC with many built-in providers
  • email and passwordless sign-in
  • passkeys (WebAuthn)
  • database adapters for MySQL, MariaDB, Postgres, SQL Server, MongoDB, SQLite and more
  • stateless JWT sessions encrypted with JWE
  • CSRF protection and restrictive cookies
  • callbacks for sign-in, JWT and session control
  • packages for Next.js, SvelteKit, Express, Qwik and more
  • email and password, email verification and password reset
  • dozens of built-in social sign-in providers plus generic OAuth
  • plugins: two-factor, passkeys, magic links, email OTP, phone number, username, anonymous sign-in, Sign In With Ethereum
  • organization plugin with members, teams and invitations; admin plugin
  • API key plugin
  • enterprise SSO per organization over OIDC or SAML 2.0, with domain verification
  • SCIM provisioning of users and groups
  • OAuth 2.1 and OpenID Connect provider, device authorization grant, client ID metadata documents
  • All 18 features
  • prebuilt sign-in/up components
  • user profile UI
  • organizations and invitations
  • MFA and passkeys
  • social login
  • enterprise SSO connections
  • webhooks
Limitations
    • Doesn't run inside Python, Go, Ruby or other non-TypeScript backends: it's a TypeScript framework, though it can also run as a standalone auth server