Authentication
Let users sign up, sign in and stay signed in — without building password storage, sessions and OAuth yourself.
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.
- Oct 19 · Adoption 250 more makers' products found using Supabase (now 561).
- Oct 5 · Action needed Supabase deprecates the framework adapters in @supabase/server; plan to move off them to the supported way of creating server clients.
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.
Pick by situation
Tap the ones that are you — the tools that fit light up below.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.
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 ReplitUsed 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
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.txtMCPUsed 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.
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.txtMCPUsed 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.
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, v0Used 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!
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, RorkWe 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.
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.txtUsed 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.
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.
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.
- feat migrate auth and data from Firebase to Supabasezabdax/callimachus · 2026-10-02
- feat: migrate from Firebase to Supabase with offline-first support an…xabhishek54/personal-finance-tracker · 2026-09-30
- Start Firebase to Supabase migrationapurbabhaiya/Apurba-Roy · 2026-09-29
- Foundation: connect Firebase sessions to Supabase toolkit accountswinningj26-prog/aiStudio-BudgetPlanner · 2026-09-29
- Foundation: connect Firebase identity to Supabase account servicewinningj26-prog/aiStudio-BudgetPlanner · 2026-09-29
- Migrate from Firebase to Supabase for auth, database, and storagekaitodecode/nyated.adikurniawan.com · 2026-09-27
- Firebase to self-hosted Supabase migration + accumulated Beta feature worksandschi/StreamCast-Pro · 2026-09-26
- Migrate authentication provider from Firebase to Supabasesametboy112-ctrl/JOKERWEB · 2026-09-25
- Migrate the backend from Firebase to Supabase PostgreSQL with RLSmonarch7107/Mohammed-Fazil-Cattery- · 2026-09-24
- Remove Firebase completely and migrate to Supabaseyouknowwalid/MD-WALID-RAHMAN · 2026-09-24
- Migrate backend from Firebase to Supabase; add friends, messaging, docs and sprint planBrodieP12/GiftListApp · 2026-09-23
- feat: Firebase to Supabase migration foundationGuilherme-Augusto-INF/Zytrix · 2026-09-21
- Migrate backend from Firebase to SupabaseRanadheerRJ/gas_station · 2026-09-19
- Migrate from Firebase to Supabase with Google sign-in and account claimingRywnSwn/2030-Projects · 2026-09-17
- Migrate employee portal from Firebase to Supabasessivabalan851-08/Employee · 2026-09-16
- refactor: fully migrate database and auth from Firebase to Supabasedancarril2020-stack/tracker-app · 2026-09-16
- Production readiness fixes + migrate data layer from Firebase to SupabaseLearningjurnal/Rubixcodelink · 2026-09-12
- Move the backend from Firebase to Supabase, and every calculation into SQLtag0388/MendNew · 2026-09-11
- refactor: migrate from Firebase to Supabase for authenticationSam123336/Happyen_backend · 2026-09-09
- Migrate database from Firebase to Supabasegokulraj0708/MY-WEBSITE- · 2026-09-09
- Migrate shared state from Supabase to Firebaseryanlay/tcfdlabschool.github.io · 2026-10-01
- Migrate database from Supabase to Firebase FirestoreubcWiCS/marketing-manager · 2026-09-30
- Migrate backend from Supabase to Firebase (specs + steering)livanuj/homemade_Uno · 2026-09-29
- Migrate backend from Supabase to Firebase: Firestore, Auth, Functions and client adapterJanStoutBlack/rankride · 2026-09-28
- feat: migrate backend from Supabase SQL to Firebase Firestore NoSQLparthasdey2304/paisa-lainden · 2026-09-27
- feat: migrate auth from Supabase to Firebase with Google OAuthSushma-1206/ai-pr-copilot · 2026-09-26
- feat: migrate Supabase to Firebase - fixes 504 timeoutAdinath-Jagtap/TripTogether · 2026-09-26
- feat: migrate admin data from Supabase to Firebasebustmartin05/barriguita · 2026-09-25
- feat(auth): migrate from Supabase to Firebase Authenticationfer-araujo/solarpanel-system · 2026-09-22
- Migrate backend from Supabase to FirebaseJoeK1973/RC-Endurance-Pit-Wall · 2026-09-22
- Migrate Offbeat from Supabase to Firebasepriyanshisrivastava-marketer/offbeat · 2026-09-19
- Migrate backend from Supabase to Firebaserana-saboorr/Gradlink · 2026-09-09
- Migrate Kalunez client from Supabase to Firebase (kalunez-app)baardonsum71/Kalunez · 2026-09-08
- pocketbook(set-up): migration from supabase to firebasesxpydo/gwong2-dung1-waa2 · 2026-09-06
- Migrate from Supabase to Firebase with admin consolesumanthrb94-sudo/Mobilephonetech.co.uk · 2026-08-28
- chore: migrate CampusGig from Supabase to Firebasesk-nayaz/Campus-gig-app · 2026-08-27
- Migrate the full site from Supabase to Firebase (prod-ready)cht25/matrix-ai · 2026-08-19
- feat: migrate persistence from Supabase to Firebase FirestoreWilsonMPeixoto-2/controle-climatizacao-3cre · 2026-08-16
- Migrate database from Supabase to Firestore with Firebase AuthTommyKung139/NTPU-PF-OB-STATS · 2026-08-15
- Migrate backend from Supabase to Firebasembwood33/MoodTracker · 2026-08-06
- Migrate SpendWise from Supabase to Neon and Clerkderlinromero/SpendWise · 2026-09-28
- feat: migrate authentication from Supabase Auth to Clerkfreathedge/operationshub · 2026-09-25
- Migrate Supabase Auth to Clerk AuthenticationArxov/farmer-procurement · 2026-09-19
- Switch auth from Supabase to Clerkjefebcn/hyroxsetup · 2026-09-10
- Migrate authentication from Supabase to Clerk with email OTPzarintasnimfema7/Campus_Path · 2026-09-03
- Migrate authentication from Supabase to Clerk with email OTPzarintasnimfema7/Campus_Path · 2026-09-03
- Migrate web auth from Supabase Auth to Clerk (keep Supabase DB)noahpeden/halteres.ai · 2026-08-30
- Migrate authentication from Supabase to ClerkSchroederNathan/Medley · 2026-08-07
- feat: migrate auth from Supabase Auth to Clerkvidhyaranganathan/myedbc-course-explorer · 2026-07-30
- Migrate authentication from Supabase Auth to Clerk (Phases 1-5)azhar-zuberi/digital-hangar-mobile · 2026-07-29
- feat: migrate Supabase to Convex and Clerkkalynbeach/kalynbeach-net · 2026-07-17
- Migrate dashboard auth from Supabase Auth to Clerkvtrxapp/riplydashboard · 2026-07-17
- Migrate authentication from Supabase to ClerkinternetOnion/big-brew-backend · 2026-07-09
- Migrate Authentication from Supabase to ClerkQueueLab/QCX · 2026-07-07
- Migrate authentication from Supabase to Clerk (third-party auth)Simplemart17/codely · 2026-07-03
- feat(auth): migrate authentication from Supabase Auth to Clerknicholsmindset/humblehalalsg · 2026-06-28
- Switch authentication from Supabase to Clerksaymddle/IDANA · 2026-06-27
- feat(auth): migrate from Supabase to Clerk (frontend)Juanpa0128j/frontend_pae_account_multiagent_system · 2026-06-22
- feat(auth): migrate from Supabase to Clerk (backend)Juanpa0128j/backend_pae_account_multiagent_system · 2026-06-22
- feat(phase-1): migrate auth from Supabase to ClerkLucasHenriqueDiniz/WeebProfile · 2026-05-28
- Migrate customer web auth from Clerk to Supabaseevery1hatestaha-png/busniessOS · 2026-09-27
- Connect Clerk users to Supabase profileshimavolt3569-design/goreto · 2026-09-25
- Migrate from Clerk to Supabase AuthDRG-X/Vaulto · 2026-09-20
- Connect Clerk to Supabase via third-party auth and link profilesAadvait-Hirde/KTP-Indiana · 2026-09-09
- feat: migrate from Clerk+NeoDB to Supabase Auth+DBcrewcircle/crewRoster · 2026-07-23
- Migrate portal authentication from Clerk to Supabase Authtoddkidneyjourney1/lab-test · 2026-07-06
- Migrate auth from Clerk to native Supabase Authjonasbager/applicator-hub · 2026-06-18
- Migrate from Clerk to Supabase AuthMasterSoler/mcp-chat · 2026-06-11
- SCRUM-21 Sync Clerk Users to Supabase DatabaseAAK-Developers/centraleats-backend · 2026-06-08
- test(e2e): migrate auth mock from Clerk to Supabase AuthBonham-Technologies/ESCAPESUITE · 2026-06-08
- swap frontend auth from Clerk to Supabase (email + password)willburnsucla/Ampersand · 2026-06-03
- feat(auth): add Clerk auth and migrate SQLite to SupabasePabloVS044/StudyAI · 2026-06-02
- Update CLAUDE.md: Migrate from Clerk to better-auth and Supabase to Neonjbdemme/start-circle · 2026-06-02
- Add Clerk user sync to SupabaseMayankkkkk2207/focus-forge · 2026-05-30
- feat(auth): migrate from Clerk to Supabase AuthBonham-Technologies/ESCAPESUITE · 2026-05-30
- Clerk to supabase auth migrationdanpeleg4/virevos · 2026-05-17
- Connect Clerk to Supabase Clientslngr17/geo-qr-attend · 2026-05-16
- docs: Add AI agent guides, directory READMEs, and migrate Clerk references to SupabaseHessuew/dina · 2026-05-01
- Migrate from Clerk to Supabase and Deploy to Fly.iozipangile/kindline · 2026-04-27
- refactor: migrated the auth and db from Clerk to Supabase, and refreshed UI/Docsgloooomed/Abhyas · 2026-04-24
- feat: migrate from Clerk to Better AuthGoogle-Developer-Group-on-Campus-CTU/gdg-ctu-website · 2026-09-23
- feat(auth): Clerk to self-managed Better Auth cutovercoderclub-team/pixaPOS · 2026-09-18
- refactor: migrate authentication from Clerk to Better Authnomtan/cat-sns-app · 2026-09-03
- Migrate authentication from Clerk to Better AuthRookledger/GroundworkOS · 2026-08-28
- Migrate authentication from Clerk to Better AuthRookledger/GroundworkOS · 2026-08-28
- feat(auth): migrate Tinlance from Clerk to Better Auth + NeonLloydCoder/Tinlance · 2026-08-17
- feat: migrate from Clerk to self-hosted Better Auth (ADR-031)woosung-dev/kairos · 2026-08-16
- Migrate authentication from Clerk to Better AuthDawnMD/tutor-os · 2026-08-09
- P0: migrate iOS auth from Clerk SDK to Jovie Better AuthJovieInc/LogYourBody · 2026-07-25
- Migrate auth from Clerk to Better Auth (passkeys + email OTP)g30r93g/ID-Game · 2026-07-10
- Migrate auth from Clerk to Better Auth (passkeys + email OTP)g30r93g/ID-Game · 2026-07-09
- Migrate authentication from Clerk to self-hosted Better Authwepaintai/wepaintai · 2026-07-07
- Migrate authentication from Clerk to Better Auth and build a production-ready auth flowabdul-rahman-0x/atlash-hub · 2026-07-02
- Migrate from clerk to better auth auth provider, integrate Prisma ORM along with data seedingseekzero01/pawhub-server · 2026-06-01
- Migrate from clerk to better auth auth providerseekzero01/pawhub-client · 2026-05-20
- Migrate from clerk to better auth auth providerseekzero01/pawhub-client · 2026-05-20
- Migrate authentication from Clerk to Better AuthEvanTechDev/One-Calendar · 2026-05-02
- feat(auth): migrate from Clerk to Better Auth (SPA-compatible)alarwasyi98/edara · 2026-04-26
- Migrate authentication from Clerk to Better Auth with Neon Postgreszschiller/screenplay · 2026-04-24
- Migrate authentication from Clerk to Better Auth with Postgreszschiller/screenplay · 2026-04-24
- Migrate authentication from Supabase Auth to Neon Managed Better AuthManu-del-source/Malihub--kenya · 2026-09-25
- Phase 3: flip frontend auth from Supabase to Better Auth (Stage B)shainamofficial/okroutcomeflow · 2026-07-16
- Migrating from supabase supabase auth to better auth and convexMakuIan/step-chef · 2026-06-25
- Step 3.final PR-B: flip auth from Supabase to Better AuthArt-of-Technology/maestro-desk · 2026-06-09
- refactor: migrate Supabase to Better Auth + Prisma + Neonremcostoeten/skriuw · 2026-05-22
- feat: migrate Supabase Auth to Better Auth with Hyperdrivemau671/claustrum · 2026-05-21
- Migrate from Supabase to Neon and Better Authcfrome77/InfiniteTrailBrewing · 2026-05-18
- feat(auth): migrate from Supabase Auth to Better Authbuchungapp/nationaal-watersportdiploma · 2026-04-23
- migrate from Supabase Auth to Better Auth (local)rice-apps/thi-data · 2026-04-18
- feat: migrate auth from Supabase to Better AuthOrbasker/nutri-balance · 2026-03-27
- feat: migrate from Supabase Auth to Better Authcinjoff/fh-starter-project · 2026-03-26
- feat: migrate auth from Supabase to Better AuthAroha-Labs/mira-network · 2026-03-17
- Migrate dashboard frontend auth from Supabase to Better Authmonade-ai/monade-voice-dashboard · 2026-03-04
- Supabase Auth to Better Auth MigrationHedriel/sit · 2026-02-09
- [WIP] Migrate authentication from Supabase Auth to Better AuthGuallet/monorepo · 2026-01-22
- Migrate authentication from Supabase Auth to Better AuthARIsoftware/ARI · 2025-12-19
- feat: migrate all auth features from supabase to better authclassroomio/classroomio · 2025-11-01
- Move from supabase to Better AuthEvanEnev/lta-helper · 2025-10-27
- Fully migrate from supabase auth to better authmove-ev-sub/ccat · 2025-05-13
- Migrate Google auth from Firebase to Clerk and remove Firebase artifactsYosserDerbali/AgriTech · 2026-04-29
- feat: migrate from Firebase to Clerk + SupabaseNeurogrowth-Labs/AfriSommelier- · 2026-04-25
- Switched from firebase auth to clerk auth. Logout now requires additional confirmationselimdilsadercan/togethr-frontend · 2025-12-09
- Migrate from Firebase to Clerk authenticationjhu-oose-f25/Team-Jay · 2025-12-01
- changed auth from firebase to clerkETLOnline/PromptCompetition2025 · 2025-11-23
- Complete firebase to hygraph and clerk migrationkn-ui/new-github-account-test · 2025-10-12
- Migrate backend from firebase to hygraph and clerkkn-ui/new-github-account-test · 2025-10-11
- Migrate authentication from firebase to clerkkn-ui/new-github-account-test · 2025-10-08
- Major update: changed the entire auth from Firebase to Clerk07sagarsaha/petConnect-React · 2025-04-02
- Changed auth method from clerk to firebase and changed the sign in and sign up layoutHumairAli26/BizSync · 2026-07-19
- feat: migrate authentication from Clerk to Firebase and update user h…JayPanchal-15092005/Chat_App_Backend · 2026-06-17
- feat: migrate authentication from Clerk to FirebaseJayPanchal-15092005/Chat_App · 2026-06-17
- feat(auth): migrate from Clerk to Firebase authenticationSumitPatel-HQ/QueryCraft · 2026-04-01
- Switch from Clerk to FirebaseCarlo-Lepejian-Official/Calories-Tracker · 2025-11-26
- feat!: move clerk authentication to firebase authenticationpallabmaiti/expense-tracker · 2025-05-06
- Migrate from clerk to firebasewarrenrhodes/store · 2025-03-01
- Migration from Clerk to Firebasecode-techhb/goals_tracker · 2025-01-02
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.
| Tool | HN comments choosing it | Net praise on HN | Makers' launches since 2024 |
|---|---|---|---|
| 74 | +1% | 0% 1 | |
| 47 | −6% | 4% 13 | |
| 29 | +7% | 82% 275 | |
| 22 | +42% | 2% 7 | |
| 22 | +26% | 0% 0 | |
| 21 | +28% | 4% 14 | |
| 10 | +10% | 0% 0 | |
| 10 | +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
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.
- 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.
Decided alongside
What the 370 makers' products here chose for their other decisions.