Open-sourcealternatives to Clerk
- About
- The open-source alternatives to Clerk in the Prosper collection are Better Auth, SuperTokens, Logto, Hanko, Hexclave and Authgear.
- Alternatives
- 6
- Most stars
- Better Auth ★ 31k
- GitHub stats
- Updated daily
- Page updated
What’s the best open-source alternative to Clerk?
It depends on what you use Clerk for.
- Better Auth for adding login to a TypeScript app.
- SuperTokens for self-hosted login, like Auth0.
- Logto for login and identity for SaaS apps.
- Hanko for passkey login and user management.
- Hexclave for auth, teams and payments for a SaaS in one package.
- Authgear for sign-in with passkeys and SSO for consumer apps.
Which of these have license conditions?
1 of the 6 have conditions worth knowing before you build on them:
- Hexclave: Hexclave is licensed per package: client code and examples are MIT, and the server components are AGPL-3.0.
About this list
These are the 6 tools in the Prosper collection that people use in place of Clerk, ranked by GitHub stars. Each one links to its own page with an overview, what it does well, and how it compares.
Compared
Ranked by GitHub stars- No. 154
Better AuthOpen-source authentication framework for TypeScriptBest for adding login to a TypeScript appAuth0★ 31k - No. 342
SuperTokensAuthentication and session management you can self-hostBest for self-hosted login, like Auth0Auth0★ 15.3k - No. 134
LogtoOpen-source authentication and identity for SaaS and AI appsBest for login and identity for SaaS appsAuth0★ 15k - No. 411
HankoAuthentication and user management with passkeysBest for passkey login and user managementAuth0, Stytch★ 9.1k - No. 439
HexclaveUser infrastructure: auth, teams, payments, email and analyticsBest for auth, teams and payments for a SaaS in one packageAuth0, WorkOS★ 6.9k - No. 584
AuthgearAuthentication with passkeys, MFA and SSO, self-hosted or in the cloudBest for sign-in with passkeys and SSO for consumer appsAuth0, Firebase Authentication★ 2.2k





