qmetrics.net
Better AuthComposable TypeScript authentication and authorization framework HankoPasskey-ready authentication and user management platform

Better Auth vs Hanko

How Better Auth and Hanko compare on popularity, activity, license and platforms: two open-source Identity & Access Management (IAM) projects, both alternatives to Stytch.

At a glance

Side by side

Better AuthHanko
GitHub stars★ 30,910★ 9,078
Forks3,1191,059
Last committodayyesterday
Latest versionv1.7.28backend/v3.2.0
Repository startedMay 2024March 2022
LicenseMIT · permissiveAGPL-3.0 · copyleft
Self-hostedDesktop/CLI appYes
PlatformsWeb, CLIDocker
Main languageTypeScriptGo
Alternative toStytchAmazon Cognito, Auth0, Clerk, Firebase Authentication, Stytch, WorkOS

Highlighted: more stars or forks, or a last commit at least two weeks more recent. Data from GitHub, updated 27 November 2026.

Better Auth

Better Auth is a framework-agnostic authentication and authorization framework for TypeScript. You configure it in code and extend it with plugins for flows like social login, organizations, and enterprise SSO.

Key features

  • TypeScript auth configuration in code
  • Email and password sessions
  • Social OAuth providers
  • Plugin-based feature extensions
  • Organizations, roles, invitations
  • Enterprise SSO and SCIM plugins

Hanko

Hanko provides authentication and user management with passkeys, MFA, OAuth, and SAML SSO. It integrates via web components, a frontend SDK, or a custom UI against its API.

Key features

  • Passkeys and WebAuthn
  • Email passcodes and passwords
  • OAuth and social sign-in
  • SAML enterprise SSO
  • TOTP and security-key MFA
  • Hanko Elements web components

More comparisons

Report a mistake on this page