Open source Clerk alternatives

Clerk is a powerful identity and user management platform that simplifies authentication, user profiles, and security for web applications. With easy-to-integrate APIs and pre-built UI components, Clerk streamlines user sign-ups, logins, and account management for developers.

We’ve curated 8 top open-source alternatives to Clerk, with hanko emerging as the best option based on our data. Looking for open-source alternatives to Clerk? Check out stack and unkey.

  1. hanko icon

    #1hanko

    Advanced authentication solution offering passkeys, social logins, and SAML SSO integration. The cloud-native platform provides flexible user management with customizable web components for seamless implementation.

    7k938Go
    Screenshot of hanko website
  2. stack icon

    #2stack

    A comprehensive authentication solution offering sign-in components, user management, and team collaboration features. This developer-friendly platform provides OAuth integration, passkey support, and role-based access control for modern web applications.

    4k283TypeScript
    Screenshot of stack website
  3. unkey icon

    #3unkey

    A robust open-source solution for API security that streamlines authentication and authorization processes. Built with modern security standards, Unkey delivers enterprise-grade protection for your API infrastructure.

    4k522TypeScript
    Screenshot of unkey website
  4. logto icon

    #4logto

    A comprehensive Identity and Access Management platform that streamlines authentication with SSO, OIDC, and Multi-Tenant capabilities. The open-source solution enables secure user management through advanced features like RBAC and MFA.

    9k459TypeScriptMPL-2.0
    Screenshot of logto website
  5. jackson icon

    #5jackson

    Transform enterprise authentication with this powerful solution that bridges SAML login to OAuth 2.0/OpenID Connect and enables automated user management through SCIM 2.0 directory sync.

    1k166TypeScriptApache-2.0
    Screenshot of jackson website
  6. authentik icon

    #6authentik

    A versatile open-source Identity Provider offering comprehensive authentication solutions with support for multiple protocols. The platform serves as a powerful alternative to traditional IdPs, delivering enterprise-grade identity management capabilities.

    14k952Python
    Screenshot of authentik website
  7. supertokens-core icon

    #7supertokens-core

    A comprehensive authentication solution offering secure login methods and session management. Built with Java for reliability, this open-source platform enables complete control over user data through on-premises deployment.

    13k540Java
    Screenshot of supertokens-core website
  8. kratos icon

    #8kratos

    A cloud-native identity and user management system offering secure authentication flows, including social sign-in, passwordless, and MFA capabilities. The battle-tested solution enables seamless user registration and profile management.

    11k963GoApache-2.0
    Screenshot of kratos website