Better AuthComposable TypeScript authentication and authorization framework
OryOpenID Connect and OAuth2 authorization server
Better Auth vs Ory
How Better Auth and Ory compare on popularity, activity, license and platforms: two open-source Identity & Access Management (IAM) projects, both alternatives to Stytch.
At a glance
- Better Auth has more GitHub stars (30.9k vs 17.7k).
- Better Auth was updated more recently (last commit today, Ory 4 months ago).
- Better Auth uses MIT; Ory uses Apache-2.0 (both permissive).
- Ory can be self-hosted; Better Auth is not listed as self-hostable.
- Ory is the older project (repository started 2015; Better Auth in 2024).
Side by side
| Better Auth | Ory | |
|---|---|---|
| GitHub stars | ★ 30,910 | ★ 17,683 |
| Forks | 3,119 | 1,633 |
| Last commit | today | 4 months ago |
| Latest version | v1.7.28 | v26.2.0 |
| Repository started | May 2024 | May 2015 |
| License | MIT · permissive | Apache-2.0 · permissive |
| Self-hosted | Desktop/CLI app | Yes |
| Platforms | Web, CLI | Linux, macOS, Windows, Docker, CLI |
| Main language | TypeScript | Go |
| Alternative to | Stytch | Amazon Cognito, Microsoft Entra ID, Okta, Ping Identity, 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
Ory
Ory Hydra is an OAuth 2.0 and OpenID Connect server that issues and validates tokens and orchestrates login and consent flows. It connects to existing identity systems through a separate login and consent application.
Key features
- OAuth 2.0 and OpenID Connect flows
- Token issuance and validation
- OAuth client management
- Login and consent orchestration
- JWKS management
- Headless API integration