Clerk
hostedprebuilt UIorganizations
Use it for: You want drop-in sign-in and profile components plus organizations, invitations and roles, with SDKs for Next.js, React and Expo.
Tradeoff: Your users live in Clerk, so moving away later means a migration.
Better Auth
open sourceTypeScriptyour database
Use it for: You want auth configured in code inside your app and stored in your own database, with plugins for 2FA, organizations and passkeys.
Tradeoff: You run it, so security updates and session storage are your responsibility.
Supabase Auth
Postgresrow level securitymagic links
Use it for: Your data is in Supabase and you want access rules written in SQL that Postgres enforces through row level security.
Tradeoff: Fits best when the rest of your backend is on Supabase too.
WorkOS
SSOSCIMAuthKit
Use it for: Business customers are asking for SAML SSO, directory sync and audit logs and you want user management through AuthKit.
Tradeoff: Its strength is enterprise features; a consumer app may not need them.
Auth0
hostedenterprise SSOMFAAI agents
Use it for: You want a long-established identity platform with universal login, MFA, passwordless and access control for AI agents.
Tradeoff: Owned by Okta and broad enough that setup takes longer than newer tools.
Firebase Authentication
mobileanonymous accountsFirebaseUI
Use it for: You build on Firebase or ship a mobile app and want email, phone, social and anonymous sign-in with FirebaseUI.
Tradeoff: MFA, SAML and multi-tenancy require the upgrade to Identity Platform.
Keycloak
open sourceself-hostedOIDCSAML
Use it for: You want your own identity server with OpenID Connect, OAuth 2.0, SAML and LDAP or Active Directory federation.
Tradeoff: A separate server to run, secure and upgrade, which is a lot for a small app.