6 open-source alternatives ranked by real activity

Open-source Memberstack alternatives

A curated, ranked list of the 6 best open-source alternatives to Memberstack.

The best open-source alternative to Memberstack is Keycloak. If that doesn't suit you, other good options are Logto, SuperTokens, Hexclave and Authgear.

Commercial alternatives to Memberstack include Clerk, Kinde, Stripe Billing and WorkOS. See all 18.

Memberstack alternatives are mainly auth & identity tools. 6 of them shipped code in the last 30 days, 6 can be self-hosted, and 4 use a permissive licence.

Last updated November 13, 2026 · ranked by GitHub stars, growth and recent commits

Keycloak

Keycloak is an open-source identity and access management server that adds single sign-on, user management and authorization to applications.

GitHub stars
38k
Last commit
yesterday
Latest release
26.8.2
Licence
Apache-2.0
Self-hosted
Yes
keycloak.orgKeycloak homepage screenshot

Keycloak is an open-source identity and access management server. It lets application teams add authentication and secure services without building their own login system, since Keycloak handles storing users and authenticating them. The project is written in Java, released under the Apache-2.0 license and governed under the Cloud Native Computing Foundation code of conduct.

Keycloak supports standard protocols such as OpenID Connect and SAML, and offers user federation, strong authentication, user management and fine-grained authorization. You can run it from the downloadable distribution using a start-dev command, or use the official Docker image published on Quay for containers and Kubernetes setups. The project provides documentation, a user mailing list and community channels for help, along with guidance for building and testing from source.

Key features

  • Single sign-on with OpenID Connect and SAML
  • User federation with external directories
  • Strong and multi-step authentication options
  • Central user and account management
  • Fine-grained authorization policies
  • Docker image and standalone distribution

Pricing: Free and open source under the Apache-2.0 license; you host and operate it yourself.

Read more about KeycloakWebsiteGitHub#1 Memberstack alternative

Logto

Open-source identity infrastructure that adds sign-in, enterprise SSO and role-based access control to SaaS and AI products, using OIDC and OAuth 2.1 standards.

GitHub stars
15k
Last commit
yesterday
Latest release
v1.46.0
Licence
MPL-2.0
Self-hosted
Yes
Hosted version
Available
logto.ioLogto homepage screenshot

Logto is an open-source identity platform that handles sign-in, sign-up and access control so product teams do not have to build them from scratch. It is built on OpenID Connect and OAuth 2.1, with SAML also supported, and is aimed at SaaS products and AI or agent-based platforms that need production-ready authentication.

Out of the box it provides multi-tenancy and organizations with member invites and role-based access, enterprise SSO, and prebuilt sign-in flows with a customizable interface. Sign-in options include social login, passwordless methods, MFA and Google One Tap, and it can connect to external identity providers such as Google, Azure AD and Okta. SDKs cover more than 30 frameworks, among them React, Next.js, Angular, Vue, Flutter, Go and Python.

The core is licensed under MPL-2.0 and can be self-hosted by following the OSS installation guide or run locally for development. Logto Cloud offers the same product as a fully managed service. The project also advertises support for the Model Context Protocol and agent-style AI architectures.

Key features

  • OIDC, OAuth 2.1 and SAML support
  • Multi-tenancy with organization RBAC
  • Enterprise single sign-on
  • Prebuilt, customizable sign-in flows
  • Social login, passwordless and MFA
  • SDKs for over 30 frameworks
  • Machine-to-machine access for APIs and CLIs

Pricing: Free cloud plan for up to 50,000 MAU. Pro starts at $24 per month plus token usage and add-ons; Enterprise is quoted, and self-hosting is available.

Read more about LogtoWebsiteGitHub#2 Memberstack alternative

SuperTokens

An open-source authentication provider offering login, session management, MFA and multi-tenancy through frontend and backend SDKs and a Java core service.

GitHub stars
15k
Last commit
7 days ago
Latest release
v12.5.0
Self-hosted
Yes
Hosted version
Available
supertokens.comSuperTokens homepage screenshot

SuperTokens is an open-source authentication provider positioned as an alternative to Auth0, Firebase Auth and AWS Cognito. It adds secure login and session management to your apps, with SDKs for popular languages and frameworks such as Node.js, Go, Python, React and React Native.

Its architecture has three building blocks: a frontend SDK that manages session tokens and renders login UI widgets, a backend SDK that provides the APIs for sign-up, sign-in, sign-out and session refreshing, and the SuperTokens Core, an HTTP service in Java that implements the authentication logic and database operations used by the backend SDK. The feature list spans passwordless and social sign-in, email and phone with password, session handling, MFA, multi-tenant organizations with enterprise SSO, user roles, authentication between microservices, and a dashboard for managing users.

You can self-host the core to keep user data in your own database, or use the vendor's managed offering. The repository's license is listed as 'Other' on GitHub, because enterprise features sit under a separate license, so check which features you need. It suits teams that want to own authentication without building it from scratch.

Key features

  • Email-password, passwordless and social login
  • Session management with token refresh
  • Multi-factor authentication support
  • Multi-tenancy and enterprise SSO
  • User roles and microservice authentication
  • User management dashboard

Pricing: Self-hosting is free at any scale. The managed cloud is free below 5K monthly active users, then $0.02 per active user per month, plus optional paid add-ons.

Hexclave

A user infrastructure platform that handles authentication, teams, RBAC, API keys, payments, emails and analytics for apps, with a dashboard and optional deployment hosting.

GitHub stars
6.9k
Last commit
yesterday
Latest release
dashboard-v1.0.137
Self-hosted
Yes
Hosted version
Available
hexclave.comHexclave homepage screenshot

Hexclave positions itself as infrastructure for the user side of an app: you pick the frontend, backend and database, and it manages everything around your users. That covers authentication, teams, permissions, API keys, payments, emails and analytics, packaged as a catalog of modules that you enable when your product needs them, all sharing one user model.

Authentication supports passkeys, OAuth and CLI auth, with methods toggled from the dashboard without code changes. Teams add workspaces, email invites and roles, while RBAC provides nested roles and a single permission check usable on server or client. API keys are auto-revoked if leaked and show their secret only once. Payments cover subscriptions, single charges and credit-based usage metering for individuals or teams, and emails cover transactional and marketing sends with an AI template editor.

Setup is designed around pasting one prompt into a coding agent, and a Hexclave Deploy offering can deploy the frontend, backend and database together. The code is TypeScript with Next.js, topics mention self-hosting and alternatives such as Auth0, Clerk, Supabase and PostHog, and the repository lists the licence as Other, so review the licence terms.

Key features

  • Passkey, OAuth and CLI authentication
  • Teams, workspaces and email invites
  • Nested roles with RBAC checks
  • API keys with auto-revocation of leaks
  • Subscriptions, one-time payments and usage credits
  • Transactional and marketing emails
  • Product analytics for user activity

Pricing: Free forever plan for up to 10,000 auth users, and free self-hosting. Team is $49 per month and Growth $299 per month, with extra dashboard admins at $29 each.

Read more about HexclaveWebsiteGitHub#4 Memberstack alternative

Authgear

Open-source customer authentication platform offering passkeys, SSO, MFA, passwordless login, and biometric sign-in, available self-hosted or as Authgear Cloud.

GitHub stars
2.2k
Last commit
today
Latest release
2026-11-04.0
Licence
Apache-2.0
Self-hosted
Yes
Hosted version
Available
authgear.comAuthgear homepage screenshot

Authgear is an open-source authentication solution for consumer-facing applications, presented as an alternative to Auth0, Keycloak, Clerk, and Firebase Auth. It is written in Go and released under the Apache-2.0 license, and can be self-hosted or used on Authgear Cloud. SDKs and a management portal help developers get started in a few minutes.

Out-of-the-box features include passwordless login through magic link or one-time codes over email, SMS, and WhatsApp, passkeys, pre-built sign-up, login, and account settings pages, biometric login on iOS and Android, and two-factor authentication with TOTP, SMS, or email. It supports OIDC, OAuth 2.0, and SAML for SSO, enterprise connections such as ADFS and LDAP, and security features like audit logs, brute-force protection, and rate limits.

The Authgear Portal provides a web interface for user management and configuration, and an Admin API in GraphQL manages resources programmatically. It suits SaaS products and multi-app ecosystems that need flexible authentication without building it themselves.

Key features

  • Passkeys and passwordless login
  • Pre-built login, signup, and account pages
  • Biometric login on iOS and Android
  • TOTP, SMS, and email two-factor authentication
  • OIDC, OAuth 2.0, and SAML single sign-on
  • Admin portal and GraphQL Admin API
  • Audit logs and brute-force protection

Pricing: A free plan includes unlimited MAUs. Developers costs $50 and Business $500 per month, with a 30-day money-back guarantee; Enterprise is custom and the software can also be self-hosted.

Read more about AuthgearWebsiteGitHub#5 Memberstack alternative

Supabase Auth

Go-based user management and authentication server from Supabase that issues JWTs and supports email, passwordless, phone, and social sign-in.

GitHub stars
2.6k
Last commit
yesterday
Latest release
v2.197.0
Licence
MIT
Self-hosted
Yes
Hosted version
Available
supabase.comSupabase Auth homepage screenshot

Supabase Auth is an authentication and user management server written in Go. It powers Supabase's sign-in features by issuing JSON Web Tokens that downstream services, such as PostgREST with Row Level Security, can trust. It started from Netlify's GoTrue codebase, but both projects have diverged significantly. It is released under the MIT license.

Supported sign-in methods include email and password, magic links, phone numbers, and external providers such as Google, Apple, Facebook, and Discord. The server exposes an HTTP API for managing users and sessions, and its configuration is handled through environment variables in a .env file, with an example file provided.

The README walks through a quick start using a local Postgres database and has sections on running in production, configuration, and endpoints. The service can be used as part of the Supabase hosted platform or run on its own, which suits teams that want an open-source JWT-based identity service they can host themselves.

Key features

  • JWT issuing for application sessions
  • Email and password sign-in
  • Magic link and phone number login
  • OAuth providers such as Google and Apple
  • User management API
  • Row Level Security integration with PostgREST

Pricing: Free and open source under the MIT license; it is also available through the hosted Supabase platform.

Commercial Memberstack alternatives

Hosted, closed-source products that compete with Memberstack. Showing 12 of 18.

See every Memberstack alternative on its tool page

Memberstack alternatives: questions

What is the best open-source alternative to Memberstack?
Keycloak is the top-ranked open-source alternative to Memberstack on Enlisted: Keycloak is an open-source identity and access management server that adds single sign-on, user management and authorization to applications. Other strong options are Logto, SuperTokens, Hexclave and Authgear.
What are the best commercial alternatives to Memberstack?
Clerk, Kinde, Stripe Billing, WorkOS and Chargebee are among the hosted, closed-source alternatives to Memberstack listed on Enlisted, which lists 18 in total. Compare their pricing and features on each tool page.
Are these Memberstack alternatives free?
All 6 are open source, so the code is free to use under its licence, and all of them can be self-hosted on your own server or computer. 5 also offer a paid or managed cloud version if you'd rather not host it yourself.
How is this list of Memberstack alternatives ranked?
By a score built from GitHub stars, star growth over the last 30 days and how recently the code changed. 6 of these projects shipped code in the last 30 days. Data is refreshed daily, and nobody can pay to move up.

People also look for alternatives to…

View all