Login and user accounts
Services that handle sign-up, login, password resets and social sign-in so you never store passwords yourself.
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
| Tool | Pricing | Best for |
|---|---|---|
| Supabase Auth Start here | Free tier Included in Supabase plans. The free plan covers 50,000 monthly active users. | Apps already using Supabase for their database. |
| Clerk | Free 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 Authentication | Free tier Common sign-in methods are free at small scale; phone SMS and advanced identity features cost money. | Mobile apps built on Firebase. |
| Better Auth | Open 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.
Visit Supabase AuthMentioned in Login and user accounts
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.
Visit ClerkMentioned in Login and user accounts
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.
Visit Firebase AuthenticationMentioned in Login and user accounts
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.
Visit Better AuthMentioned in Login and user accounts