Login and user accounts

Services that handle sign-up, login, password resets and social sign-in so you never store passwords yourself.

4 tools Prices change. Each tool shows the month its facts were checked.

Do not build login from scratch. A good provider handles password hashing, reset links that expire, session timeouts and social sign-in. If your iPhone app offers Google or other social login, Apple also expects a privacy-friendly option such as Sign in with Apple. Details in Login and user accounts.

At a glance

Login and user accounts compared
ToolPricingBest for
Supabase Auth Start hereFree tier Included in Supabase plans. The free plan covers 50,000 monthly active users.Apps already using Supabase for their database.
ClerkFree tier Free for up to 50,000 monthly retained users per app, with limits on social connections and no MFA. Pro is $20 a month billed yearly or $25 monthly.Web apps, especially Next.js, that want polished sign-in screens in an afternoon.
Firebase AuthenticationFree tier Common sign-in methods are free at small scale; phone SMS and advanced identity features cost money.Mobile apps built on Firebase.
Better AuthOpen source Free library. You host and maintain it.Developers who want full control and no per-user fees.

Supabase Auth

Start hereFree tier

Email, magic link, phone and social login that ties directly into your Supabase database permissions.

Best for
Apps already using Supabase for their database.
Pricing
Included in Supabase plans. The free plan covers 50,000 monthly active users. Pricing page for Supabase Auth
Facts checked

Strengths

  • Users are rows in your own Postgres database.
  • Works with Row Level Security out of the box.
  • Sign in with Apple, Google and many others.

Trade-offs

  • You build the login screens yourself or use their UI library.

Clerk

Free tier

Drop-in login screens and user management, with organisations for B2B apps.

Best for
Web apps, especially Next.js, that want polished sign-in screens in an afternoon.
Pricing
Free for up to 50,000 monthly retained users per app, with limits on social connections and no MFA. Pro is $20 a month billed yearly or $25 monthly. Pricing page for Clerk
Facts checked

Strengths

  • Ready-made, good-looking components.
  • Organisations, roles and invitations for team products.

Trade-offs

  • Free plan lacks MFA and passkeys and shows Clerk branding.
  • Your users live in Clerk, so leaving later takes work.

Firebase Authentication

Free tier

Google's login service with SDKs for Android, iOS and the web.

Best for
Mobile apps built on Firebase.
Pricing
Common sign-in methods are free at small scale; phone SMS and advanced identity features cost money. Pricing page for Firebase Authentication
Facts checked

Strengths

  • Mature mobile SDKs.
  • Anonymous accounts that upgrade to full accounts later.

Trade-offs

  • SMS verification costs per message and is a target for fraud.

Better Auth

Open sourceOpen source

Open-source TypeScript auth library that runs inside your own app and stores users in your own database.

Best for
Developers who want full control and no per-user fees.
Pricing
Free library. You host and maintain it. Pricing page for Better Auth
Facts checked

Strengths

  • No vendor and no per-user pricing.
  • Plugins for two-factor, organisations and passkeys.

Trade-offs

  • Security updates are your job.
  • Needs coding skill to set up correctly.