Updated
Ship and run

Authentication

Let users sign up, sign in and stay signed in — without building password storage, sessions and OAuth yourself.

For your framework or language:ReactNext.jsAstro
Ask your AI about this, with this page as the source:ChatGPT ↗Claude ↗Perplexity ↗

Trends

Better Auth gained the most ground in package downloads: 8× against the median npm package over a year.

Public counts each month: pull requests on GitHub, package downloads, stars, Product Hunt followers. They show direction, not market share.

ToolDownloadsStarsProduct Hunt
Supabase25.4M/wk+91% vs npm★ 111.4k58.4k followers
Amazon Cognito10.8M/wk−50% vs npm——
Firebase9.5M/wk−22% vs npm—4.2k followers
Better Auth8.3M/wk8× vs npm★ 30.3k42 followers
Auth.js5.8M/wk−9% vs npm★ 28.4k—
WorkOS2.9M/wk+103% vs npm—6.8k followers
Clerk2.3M/wk+53% vs npm—1.5k followers
Auth01.9M/wk−27% vs npm—586 followers
Keycloak994.5k/wk−48% vs npm★ 37.3k17 followers
Descope281.7k/wk+64% vs npm—878 followers
StytchAcquired258.1k/wk+17% vs npm—727 followers
Frontegg144.2k/wk+11% vs npm—3 followers
SuperTokens97.6k/wk−11% vs npm★ 15.3k222 followers
PropelAuth70.4k/wk+46% vs npm—275 followers
BoxyHQAcquired70.3k/wk+23% vs npm★ 2.3k527 followers
Logto68.5k/wk+64% vs npm★ 14.7k487 followers
Kinde36k/wk−4% vs npm—579 followers
Zitadel—★ 15.3k—
authentik—★ 25.9k0 reviews
Lately in this groupEverything that changed →

The real choice

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.

What makers chose370 live products, each with a source. Not market share.

Pick by situation

Tap the ones that are you — the tools that fit light up below.
  • You're on Next.js or React and want sign-in, profiles and teams working todayClerk
  • Your data is already in Supabase or FirebaseSupabaseFirebase
  • You want users in your own database and no per-user billBetter Auth
  • You sell to companies whose IT team will ask for SAML SSO or SCIMWorkOSAuth0

Compare the tools

Grouped by the side of the choice they answer, not ranked. Open a row for when to use it, the trade-off and what makers say.

ToolBest for
Hosted service3
Clerkservice · free tierDropping prebuilt sign-in, profile and organization UI into a React or Next.js app.336+14 open source$0Hobby2.3M/wk+53% vs npm

Use it whenYou want prebuilt components, user profiles and organizations out of the box.

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

llms.txtMCPCLIIn Replit

Used by Brew, Brutal Verdict, Builder's Bid Book, CCgather, ClientJam and 331 more · in 14 open-source projects.

I would ship as fast if I wasnt using Clerk. I use it for all my products, has a good free tier and it's customisation is so advanced as you want it to be, su all scenario's are achievable. Su
Indie Hacker Stacks, the makerSep 2026 ↗
Auth0service · free tierComplex identity needs and enterprise compliance.21+18 open source$0Free1.9M/wk−27% vs npm

Use it whenA customer's security review asks for certifications and identity features a younger provider can't show.

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

llms.txtMCP

Used by Brokee, Chronicle, DGi, Enhance-d, Maildroppa and 16 more · in 18 open-source projects.

I had a simple login system using Auth0 and it would unlock access to the premium content on the website.
Tech Lockdown, the makerMay 2024 ↗
WorkOSservice · free tierB2B SaaS that will need enterprise SSO and directory sync.20+12 open source$0AuthKit2.9M/wk+103% vs npm

Use it whenYour first big customer asks for SAML or SCIM.

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.

llms.txtMCP

Used by Almanac, Flipt Cloud, GAIA, oqoqo, Paragon and 15 more · in 12 open-source projects.

We chose WorkOS because it's straightforward to integrate and easy to work with. It let us add the features we needed without unnecessary complexity.
Velo, the makerSep 2026 ↗
Bundled with your backend2
Supabaseplatform · open source · free tierApps already on Supabase — auth is part of the same project as the database.13$0Free25.4M/wk+91% vs npm

Use it whenYou want row-level security in Postgres tied directly to the signed-in user.

Trade-offLess polished UI components than dedicated auth services.

llms.txtMCPCLIIn Bolt, Lovable, Rork, v0

Used by BeforeSunset AI, CatDoes, giselle, Greta, Lamatic.ai and 8 more.

Supabase is CatDoes' backend. We use their database, auth, storage, and real-time features. A platform like CatDoes requires a stable and scalable backend, and Supabase is providing that!
CatDoes, the makerSep 2026 ↗
Firebaseplatform · free tierMobile and client-heavy apps already using Firebase.4$0Blaze (pay as you go)9.5M/wk−22% vs npm

Use it whenYour app talks to Firestore straight from the client and you want sign-in rules in the same place.

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

llms.txtIn Lovable, Rork

Used by Bricks, Exstats, Remy AI, Slashy.

We chose Firebase because its authentication tooling is reliable, widely supported, and straightforward to integrate across web and mobile. It helped us ship account access without building identity infrastructure from scratch.
Slashy, the makerSep 2026 ↗
Library in your app1
Better Authlibrary · open source · free tierTypeScript apps that want users and sessions in their own database, at no cost.7+102 open source$0Self-hosted (open source)8.3M/wk8× vs npm

Use it whenYou'd rather own the code than pay per user.

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

llms.txt

Used by Beplan, Clarm, PicMotionAI, Prism AI, Rybbit and 2 more · in 102 open-source projects.

Authentication is always a time sink, but not with better_auth. Simple, secure, and extendable. Got magic links and login flow done in under an hour.
PicMotionAI, the makerSep 2026 ↗

Cost: the cheapest plan that fits monthly active users 10k MAU, from list prices. Try your own numbers →

Cost as you grow

Each contender's cheapest usable plan as usage rises.

$0$500$2,000$5,000$10,0001001k5k10k25k50k100k250k1M
Auth0WorkOSBetter AuthFirebaseSupabaseClerkx: monthly active users (MAU) · cheapest usable plan at each point, list prices · try your own numbers

Who switches to what

Public pull requests on GitHub since Oct 2024 whose title says "X to Y" — real code changes, by developers in general rather than makers only. Pick a flow to see its pull requests.

Firebase → Supabase: 297 pull requestsSupabase → Firebase: 113 pull requestsSupabase → Clerk: 54 pull requestsClerk → Supabase: 53 pull requestsClerk → Better Auth: 33 pull requestsSupabase → Better Auth: 19 pull requestsFirebase → Clerk: 9 pull requestsClerk → Firebase: 8 pull requestsFirebase 306Supabase 186Clerk 94Supabase 350Firebase 121Clerk 63Better Auth 52Moving fromMoving to
Firebase → Supabase297 PRs

What Hacker News says

Hacker News commenters choose Keycloak most often for authentication, and like Better Auth best (net praise +42%). Among products launched since 2024 that show their choice, 82% use Clerk.

ToolHN comments choosing itNet praise on HNMakers' launches since 2024
Keycloak74+1%0% 1
Auth047−6%4% 13
Clerk29+7%82% 275
Better Auth22+42%2% 7
authentik22+26%0% 0
WorkOS21+28%4% 14
Auth.js10+10%0% 0
Zitadel10+21%0% 0

Comments January 2023 to August 2026 that name the tool in a sentence like "I use" or "we moved to", estimated from a sample Claude read; net praise is comments recommending it minus comments criticizing it, as a share of all comments about it. Makers: of 334 launches that show what they use here. HN commenters and makers are different crowds — where they agree and where they split.

Before you choose

How to approach it

Start with email + one social login (Google or GitHub). Keep the user record in your own database even when a hosted service owns sign-in, so you can switch later. Add organizations and SSO only when a paying customer asks.

Common mistakes
  • Keeping users only inside the auth provider — with no row in your own database, every query that joins users goes through their API, and moving later means a password-reset email to everyone.
  • Building organizations, roles and SSO before a paying customer asks for them.
  • Comparing only free tiers; per-monthly-active-user pricing is what you pay once a free product gets traffic.

Other options

Real choices most makers here won't need to weigh.

KindeHosted serviceAuth that also covers feature flags and organizations in one place.7 makers' productsPropelAuthHosted serviceB2B products where every customer is an organization with members, roles, invites and SAML.5 makers' productsStytchHosted serviceAcquired · Oct 2025Passwordless sign-in (magic links, one-time codes, passkeys) and B2B SSO through APIs, free up to 10,000 monthly active users.5 makers' productsHexclave (Stack Auth)Open-source serviceRenamedA Clerk-style developer experience you can also self-host.2 makers' productsLogtoOpen-source serviceOpen-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.2 makers' productsKeycloakOpen-source serviceA self-hosted identity server with SSO, OpenID Connect, SAML and user federation for several apps at once.1 makers' productSuperTokensOpen-source serviceOpen-source auth with prebuilt login UI and backend SDKs, self-hosted for free or on their cloud.1 makers' productDescopeHosted serviceLogin, MFA and SSO flows designed in a visual drag-and-drop editor instead of code.1 makers' productFronteggHosted serviceB2B SaaS that wants a ready-made admin portal where each customer manages its own users, roles and SSO.1 makers' productAuth.jsLibrary in your appExisting Next.js apps built on NextAuth, and teams that want OAuth sign-in with users in their own database.Amazon CognitoHosted serviceUser sign-up and sign-in for apps already built on AWS, with a permanent free tier of 10,000 monthly active users.ZitadelOpen-source serviceAn open-source identity server with organizations (multi-tenancy), passkeys and SSO built in, as a hosted cloud or on your own servers.authentikOpen-source serviceA self-hosted identity provider that adds single sign-on in front of many apps, via OIDC, SAML, LDAP or a proxy.BoxyHQLibrary in your appAcquired · May 2025Adding enterprise SAML SSO and SCIM directory sync to an existing login system, self-hosted for free.

Decided alongside

What the 370 makers' products here chose for their other decisions.

Further reading