Open Source Clerk Alternatives

Add authentication without per-user fees. Open source Clerk alternatives for sign-up flows, user profiles, and session management you control.

8 alternatives available

Clerk simplifies adding authentication and user management to applications, particularly those built with React, Next.js, and Remix. It offers pre-built UI components and backend infrastructure to handle user registration, login, profile management, and more. However, developers sometimes look for open source alternatives to avoid relying on a proprietary SaaS solution and maintain greater control over their user data and authentication processes.

Key features of Clerk include easily integrated UI components, streamlined user authentication flows, and robust account management. It supports features like multi-factor authentication (MFA), organization management, and customizable branding. While powerful and convenient, the closed-source nature of Clerk can be a drawback for teams prioritizing self-hosting or deep customization. This leads to exploring alternatives offering more flexibility.

Common use cases for Clerk include building user logins and registration in web apps, managing user profiles and permissions, implementing secure authentication workflows, and handling complex organization structures. However, many developers may prefer self-hosted solutions for compliance reasons or to avoid ongoing subscription costs. Finding a suitable open source alternative allows them to achieve similar functionality with greater control and transparency.

Open Source Alternatives

Python
51%
Other
90

authentik

20,390

The self-hosted Identity Provider that replaces Okta, Auth0, and Entra ID with a unified SSO platform supporting SAML, OAuth2/OIDC, LDAP, RADIUS, and WebAuthn.

View details

authentik

Other
1,496
Forks
1,011
Issues
6.5 years
Age
Built with
Python51%
TypeScript32%
Updated 3 months ago
Java
98%
Other
87

SuperTokens

Authentication · Security

14,950

Open-source authentication platform you self-host, giving you complete control over user data with zero vendor lock-in.

View details

SuperTokens

Other
645
Forks
153
Issues
6.5 years
Age
Built with
Java98%
Updated 3 months ago
Go
75%
AGPL 3.0
90

ZITADEL

Authentication

13,169

Open-source, API-first identity platform delivering multi-tenancy, Passkeys, OIDC, SAML, and SCIM without vendor lock-in.

View details

ZITADEL

AGPL 3.0
956
Forks
953
Issues
6.3 years
Age
Built with
Go75%
TypeScript12%
Updated 3 months ago
TypeScript
97%
MPL 2.0
89

Logto

11,643

Open-source auth infrastructure for SaaS and AI apps with OIDC, SAML, and RBAC

View details

Logto

MPL 2.0
726
Forks
203
Issues
5 years
Age
Built with
TypeScript97%
Updated 3 months ago
Go
67%
Other
89

Hanko

Security · Authentication

8,857

Open source, self-hostable authentication platform with passkeys, SAML SSO, and OAuth — the privacy-first alternative to Auth0 and Clerk.

View details

Hanko

Other
1,011
Forks
41
Issues
4.3 years
Age
Built with
Go67%
TypeScript28%
Updated 3 months ago
TypeScript
95%
Other
85

Hexclave

Developer Tools · Authentication

6,728

The open-source user infrastructure platform — authentication, teams, payments, emails, analytics, and more on a single unified user model.

View details

Hexclave

Other
507
Forks
31
Issues
2.3 years
Age
Built with
TypeScript95%
Updated 3 months ago
TypeScript
78%
AGPL 3.0
80

VoidAuth

Security · Authentication

1,879

Self-hosted SSO with OIDC, LDAP, passkeys, and proxy auth for your entire self-hosted stack

View details

VoidAuth

AGPL 3.0
58
Forks
32
Issues
1.2 years
Age
Built with
TypeScript78%
HTML13%
Updated 3 months ago
Go
55%
Apache 2.0
88

Authgear

Authentication

1,457

Open-source, self-hostable authentication platform with passkeys, biometric login, SSO, MFA, and GraphQL admin API — a full Auth0/Clerk/Firebase alternative for SaaS and mobile apps.

View details

Authgear

Apache 2.0
101
Forks
371
Issues
6 years
Age
Built with
Go55%
HTML27%
TypeScript16%
Updated 3 months ago

Join founders buildingwith open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on Substack

No spam. Unsubscribe anytime.

Join 750+ subscribers
No spam. Unsubscribe anytime.

Search