Updated

Auth.js alternatives

Of the 98 products launched in 2026 that we know the authentication of, none we track use Auth.js. The most picked now is Clerk (84%, up from 76%).

9 of the 19 are open source or self-hostable (Supabase, Better Auth, Hexclave (Stack Auth) and 6 more) and 18 have a free tier. At 10,000 users, Clerk, Auth0, WorkOS, Supabase and 2 more cost nothing.

9 open source or self-hostable18 with a free tier17 ready for AI agents

Not a ranking: each option is described by the situation it fits, with its trade-off.

What new products use instead

The share of makers' products we track that use each for authentication, by the year they launched on Product Hunt. The stack is the one we see today, not the one it launched with; a product can use more than one.

OptionLaunched 2024 · 89Launched 2025 · 105Launched 2026 · 98
Clerk76%79%84%
WorkOS3%3%8%
Auth07%5%2%
Supabase3%4%2%
Firebase2%0%2%
Stytch0%1%2%

Auth.js alternatives compared

How many makers' products we track use each for authentication, and what each costs at 10,000 users.

OptionKindMakers' productsAt 10,000 usersFree tierOpen source
Auth.jsLibrary in your app0—YesYes
ClerkHosted service336$0/mo · HobbyYesNo
Auth0Hosted service21$0/mo · FreeYesNo
WorkOSHosted service20$0/mo · AuthKitYesNo
SupabaseBundled with your backend13$0/mo · FreeYesYes
Better AuthLibrary in your app7$0/mo · Self-hosted (open source)YesYesCompare →
FirebaseBundled with your backend4$0/mo · Blaze (pay as you go)YesNo
KindeHosted service7—YesNo
PropelAuthHosted service5—YesNo
StytchHosted service5—YesNo
Hexclave (Stack Auth)Open-source service2—YesYes
LogtoOpen-source service2—YesYes
KeycloakOpen-source service1—YesYes
SuperTokensOpen-source service1—YesYes
DescopeHosted service1—YesNo
FronteggHosted service1—YesNo
Amazon CognitoHosted service0—YesNo
ZitadelOpen-source service0—YesYes
authentikOpen-source service0—YesYes
BoxyHQLibrary in your app0—NoYes

Hosted service or library in your own app. Hosted services give you UI, MFA and security updates for a monthly bill and some lock-in; libraries keep users in your own database for free, and you own the upkeep.

Auth.js (Library in your app): Existing Next.js apps built on NextAuth, and teams that want OAuth sign-in with users in their own database. Trade-off: The project is now part of Better Auth, which offers a migration guide; v5 has stayed in beta for a long time, and features like two-factor or organizations are yours to build.

Clerk

Hosted service
Free tierFrom $25/mollms.txtMCPCLIIn Replit

Best forDropping prebuilt sign-in, profile and organization UI into a React or Next.js app.

Trade-offPer-user pricing grows with you; users live in Clerk, not your database.

Used by 336 makers' products for this

Auth0

Hosted service
Free tierFrom $35/mollms.txtMCP

Best forComplex identity needs and enterprise compliance.

Trade-offHeavier to configure and pricier than newer options for a solo project.

Used by 21 makers' products for this

WorkOS

Hosted service
Free tierFrom $125 per connection/mollms.txtMCP

Best forB2B SaaS that will need enterprise SSO and directory sync.

Trade-offIts free tier covers basic sign-in, but enterprise SSO and directory sync are priced per connection — worth it once a customer pays for them.

Used by 20 makers' products for this

Supabase

Bundled with your backend
Open sourceFree tierFrom $25/mollms.txtMCPCLIIn Bolt, Lovable, Rork, v0

Best forApps already on Supabase — auth is part of the same project as the database.

Trade-offLess polished UI components than dedicated auth services.

Used by 13 makers' products for this

Better Auth

Library in your app
Open sourceFree tierllms.txt

Best forTypeScript apps that want users and sessions in their own database, at no cost.

Trade-offYou host it and keep it patched; UI is yours to build.

Used by 7 makers' products for this · Auth.js vs Better Auth →

Firebase

Bundled with your backend
Free tierFrom Pay as you go (Blaze)llms.txtIn Lovable, Rork

Best forMobile and client-heavy apps already using Firebase.

Trade-offTies your user model to Google's ecosystem.

Used by 4 makers' products for this

Kinde

Hosted service
Free tierFrom $25/mollms.txtCLI

Best forAuth that also covers feature flags and organizations in one place.

Used by 7 makers' products for this

PropelAuth

Hosted service
Free tierFrom $150/mollms.txtCLI

Best forB2B products where every customer is an organization with members, roles, invites and SAML.

Trade-offPaid plans start well above hobby budgets once you pass the free tier; users live in PropelAuth, not your database.

Used by 5 makers' products for this

Stytch

Hosted service
Free tierllms.txt

Best forPasswordless sign-in (magic links, one-time codes, passkeys) and B2B SSO through APIs, free up to 10,000 monthly active users.

Trade-offNow part of Twilio, which says nothing changes for now; overage prices aren't published, and users live in Stytch, not your database.

Used by 5 makers' products for this

Hexclave (Stack Auth)

Open-source service
Open sourceFree tierFrom $49/mollms.txtCLI

Best forA Clerk-style developer experience you can also self-host.

Trade-offYounger ecosystem than the incumbents.

Used by 2 makers' products for this

Logto

Open-source service
Open sourceFree tierFrom $24/mollms.txtCLI

Best forOpen-source OIDC auth with hosted sign-in pages, organizations and roles, on a cloud with 50,000 free monthly active users or on your own servers.

Trade-offRuns as a separate auth server your app redirects to, rather than components inside your pages; smaller community than the incumbents.

Used by 2 makers' products for this

Keycloak

Open-source service
Open sourceFree tier

Best forA self-hosted identity server with SSO, OpenID Connect, SAML and user federation for several apps at once.

Trade-offA heavy Java server to run, upgrade and theme; more admin console than a small app usually needs.

Used by 1 maker's product for this

SuperTokens

Open-source service
Open sourceFree tierFrom $0.02 per MAUllms.txt

Best forOpen-source auth with prebuilt login UI and backend SDKs, self-hosted for free or on their cloud.

Trade-offThe core runs as a separate service next to your backend; MFA and some features are paid add-ons on the cloud.

Used by 1 maker's product for this

Descope

Hosted service
Free tierFrom $249/mollms.txt

Best forLogin, MFA and SSO flows designed in a visual drag-and-drop editor instead of code.

Trade-offThe jump from the free tier to the first paid plan ($249/mo billed annually) is steep for a solo project; flows live in Descope's editor, not your repo.

Used by 1 maker's product for this

Frontegg

Hosted service
Free tierllms.txt

Best forB2B SaaS that wants a ready-made admin portal where each customer manages its own users, roles and SSO.

Trade-offPaid pricing past 7,500 monthly active users isn't published; built for multi-tenant B2B, so it's more than a consumer app needs.

Used by 1 maker's product for this

Amazon Cognito

Hosted service
Free tierFrom $0.015 per MAU (Essentials) after 10,000 free

Best forUser sign-up and sign-in for apps already built on AWS, with a permanent free tier of 10,000 monthly active users.

Trade-offHosted login pages and error messages are hard to customise, some user pool settings can't be changed after creation, and exporting users with their passwords isn't supported.

No maker product tracked for this yet

Zitadel

Open-source service
Open sourceFree tierFrom $100/mo (Pro, 25,000 daily active users)CLI

Best forAn open-source identity server with organizations (multi-tenancy), passkeys and SSO built in, as a hosted cloud or on your own servers.

Trade-offAGPL license for self-hosting; a full identity server is more to run and learn than an auth library in your app.

No maker product tracked for this yet

authentik

Open-source service
Open sourceFree tierFrom $5 per internal user/mo, $0.02 per external user/mo (Enterprise, billed annually)llms.txt

Best forA self-hosted identity provider that adds single sign-on in front of many apps, via OIDC, SAML, LDAP or a proxy.

Trade-offSelf-hosted only, with no hosted plan; built more for SSO across apps than for sign-up flows inside a customer-facing product.

No maker product tracked for this yet

BoxyHQ

Library in your app
Open sourcellms.txtCLI

Best forAdding enterprise SAML SSO and SCIM directory sync to an existing login system, self-hosted for free.

Trade-offOry acquired BoxyHQ and now ships it as Ory Polis; it handles SSO only, not sign-up, sessions or passwords, and you run and patch it yourself.

No maker product tracked for this yet

Questions

What is the best alternative to Auth.js?

It depends on what you need it for; we don't rank them. Among products launched in 2026, the most picked for authentication instead is Clerk (84%). You're on Next.js or React and want sign-in, profiles and teams working today: Clerk. Your data is already in Supabase or Firebase: Supabase and Firebase. You want users in your own database and no per-user bill: Better Auth.

Is there a free alternative to Auth.js?

Yes. For authentication, Clerk, Auth0, WorkOS, Supabase, Better Auth, Firebase and 12 more have a free tier a small product can start on.

Is there an open-source alternative to Auth.js?

Yes. For authentication: Supabase, Better Auth, Hexclave (Stack Auth), Logto, Keycloak, SuperTokens and 3 more.

What is the cheapest alternative to Auth.js?

At 10,000 users, Clerk, Auth0, WorkOS, Supabase and 2 more cost nothing. From each vendor's pricing page.