Skip to content

Latest commit

 

History

History
60 lines (46 loc) · 4.96 KB

COMPARISON.md

File metadata and controls

60 lines (46 loc) · 4.96 KB

How theAuth compares

All sources were read on 2026-12-03. Products change, so follow the link before you decide. "Not verified" means we did not confirm it, not that it is missing.

The theAuth column describes @glinr/theauth 1.2.0, the version on npm that day, checked by installing it. See what npm serves. The package is MIT, runs inside your app and keeps data in your database.

Better Auth

Topic Finding Source
Runs as Library, with a standalone self-hosted option comparison
License MIT license
Email and password, social Yes email, OAuth
Passkeys, TOTP, organizations Plugins passkey, 2FA, organization
SAML, SCIM Plugins; self-service SSO setup comes with paid Infrastructure SSO, SCIM
OAuth server, MCP Plugins OAuth provider, MCP
Agent identity Plugin with delegated and autonomous agents, marked not yet stable agent auth
Dashboard Paid add-on infrastructure

Pick it when you want a TypeScript library with a plugin for most of the list above and an optional paid dashboard. Its email and password sign in is built in, which theAuth 1.2.0 on npm does not have.

Auth.js

Topic Finding Source
Maintenance Maintained by the Better Auth team since September 2025, which recommends Better Auth for new projects unless there are specific feature gaps announcement
Runs as, license Library, ISC readme, license
Email and password Credentials provider; you write the verification credentials
Social Yes readme
Passkeys Experimental WebAuthn
SAML Through the external BoxyHQ service provider
TOTP, organizations, OAuth server, MCP, agent identity, SCIM, dashboard Not verified

Pick it when you already run it, or you want social sign in with stateless sessions and no database.

Clerk

Topic Finding Source
Runs as Hosted service with SDKs (the JavaScript SDKs are MIT) how it works
Passkeys, MFA Paid plan for production pricing, sign-in options
SAML, SCIM Pro or Business plan in production enterprise connections, directory sync
OAuth server, MCP Yes OAuth, agents
Agents Agent sessions act as a user; Agent Tasks is in beta agent tasks
Dashboard Yes dashboard

Pick it when you want someone else to run authentication, with a dashboard and prebuilt flows, and the plan prices fit.

Auth0

Topic Finding Source
Runs as Hosted service overview
Passkeys, social, organizations Yes, with plan limits pricing
SAML, SCIM Yes; connection counts vary by plan SAML, inbound SCIM
MCP Auth for MCP MCP
Agent identity Agent as Principal, in Early Access, with delegated tokens agent as principal
Dashboard Yes dashboard

Pick it when you need a hosted enterprise identity service, including acting as a SAML identity provider.