Security & Privacy · Identity & Access Management (IAM)
Hexclave
Open-source user infrastructure for authentication, billing, and product operations
Hexclave is an open-source platform for authentication, teams, RBAC, payments, email, analytics, webhooks, API keys, launch checks, and secure data vaults. Its applications share one user model and can be used with a chosen frontend, backend, and database. The project supports hosted cloud access, data export, and self-hosting. Package licenses generally separate MIT client code from AGPL-3.0 server components.
Key facts
- License
- Package-specific: client code and examples generally MIT; server components generally AGPL-3.0; enterprise licenses available
- Main language
- TypeScript, JavaScript
- Maintainer
- Hexclave open-source project
- Latest release
- RDE dashboard 1.0.132, October 16, 2026
- GitHub stars
- 6,840
- Hosted option
- Hosted cloud available; contact the project for pricing
What Hexclave is
Hexclave is an open-source user infrastructure platform maintained through the Hexclave repository. Its README presents authentication, teams, payments, email, analytics, and related user operations as modular applications. The repository lists 6,840 stars and 523 forks, with N2D4 and fomalhautb among its leading contributors. The sources describe Hexclave as the result of a visible 2026 rebrand from Stack Auth, with native Hexclave packages and continued compatibility for legacy identifiers. The project is active, and its release page lists dashboard version 1.0.132 on October 16, 2026. Contributions are welcomed through the repository.
How it works
A Hexclave workflow begins with hosted cloud access or a self-hosted installation, followed by enabling applications required by a product. Authentication includes passkeys, OAuth, and CLI authentication, with methods controlled from the dashboard. Teams provide workspaces, email invitations, and roles, while RBAC supports nested roles and shared permission checks across server and client code. API keys serve users or teams, reveal the complete secret once, and support automatic revocation after leakage. Payments cover subscriptions, one-time charges, usage metering, and credits. Email supports transactional and marketing messages, editable templates, and open and click tracking. Analytics adds active-user counts and session replays, while webhooks and the data vault extend the operational workflow.
Architecture and recent releases
The repository contains TypeScript, JavaScript, Swift, PLpgSQL, Shell, HTML, CSS, MDX, and Dockerfile material. Its topics identify authentication, OAuth, passkeys, multi-tenancy, payments, RBAC, self-hosting, teams, analytics, and related functions. Hexclave says teams choose the frontend, backend, and database, while the platform supplies user-focused services around them. The README also describes signed webhooks with retries and backoff, a server-only data vault for secrets, and a launch checklist covering domain setup, callback restrictions, and secret rotation. The release page lists dashboard versions 1.0.125 through 1.0.132 between October 5 and October 16, 2026. Adoption therefore involves integrating a broad catalog rather than selecting only an authentication endpoint.
License and pricing
Hexclave uses package-specific open-source licensing rather than one uniform repository license. Its license file states that client code and examples are generally licensed under MIT, while server components are generally licensed under AGPL-3.0. It directs users to individual package license files for exact terms and states that enterprise licenses are available. The README says users can begin on hosted cloud, export their data, and self-host. The sources do not publish hosted cloud prices, usage allowances, asset limits, or enterprise prices. Organizations should review each package before deployment, modification, redistribution, or service operation, because the client and server components create different compliance considerations.
Limitations and how it compares
Hexclave combines identity, teams, billing, email, analytics, webhooks, API keys, launch checks, and a data vault in one user model. The repository and migration documentation show that it was formerly Stack Auth, with the dashboard, APIs, and data unchanged during the brand and package transition. Legacy package names, domains, headers, tokens, and callback URLs continue to work in the documented compatibility plan, while new packages use Hexclave names. This can reduce migration disruption for existing Stack Auth users, but new adopters still need to evaluate package licenses, deployment procedures, and integration boundaries. Focused alternatives may fit teams that need one specialized subsystem rather than a combined user platform.
Main features
- Authentication. Supports passkeys, OAuth, and CLI authentication, with methods controlled from the project dashboard.
- Teams and RBAC. Provides workspaces, email invitations, nested roles, and shared permission checks across server and client code.
- API Keys. Supports user and team keys, displays secrets once, and automatically revokes keys reported as leaked.
- Payments. Supports subscriptions, one-time charges, usage metering, and credits through one billing model.
- Email Operations. Handles transactional and marketing sends, editable templates, and tracking for message opens and clicks.
- Product Analytics. Provides active-user counts, session replays, dashboards, and saved SQL queries with one enabled flag.
- Webhooks and Vault. Provides signed webhooks with retries and a server-only vault for storing user- secrets.
- Launch Checklist. Tracks domain setup, callback restrictions, and secret rotation before a product moves into production.
Self-hosting Hexclave
Hexclave states that users can export their data and self-host, and the repository contains Dockerfile and Shell material. The texts do not specify installation steps, hardware requirements, dependency services, backup procedures, migration instructions, environment variables, or upgrade procedures. Repository topics identify self-hosting and PLpgSQL, but they do not constitute an operating guide. Before production deployment, operators should review current package licenses and deployment documentation, then establish procedures for secrets, migrations, backups, monitoring, and upgrades. Hosted cloud is also available for teams that do not want to operate the platform themselves.
Strengths
- One user model covers identity, teams, billing, email, analytics, and webhooks.
- The project documents hosted cloud access, data export, and self-hosting.
- Passkeys, OAuth, RBAC, API keys, and a data vault address common product needs.
- Legacy Stack Auth integrations can continue working during the documented rebrand transition.
Drawbacks
- The texts do not provide a complete production dependency or hardware matrix.
- Package-specific licensing requires review before commercial deployment.
- The platform's broad scope requires evaluating several operational surfaces together.
What teams replace with it
Teams usually evaluate Hexclave when they want to move off Auth0, Clerk, Stripe, PostHog.
For side-by-side commercial comparisons, browse our alternatives hub.
Open-source alternatives to Hexclave
Frequently asked questions
Is Hexclave free?
Hexclave is described as open source and supports self-hosting, but its license varies by package. The project also offers hosted cloud. The texts do not publish hosted pricing, so users must review relevant package licenses and obtain enterprise terms where those terms are required.
Can companies use Hexclave commercially?
The license file states that client code and examples are generally MIT, while server components are generally AGPL-3.0. Commercial use depends on the applicable package and how it is used, modified, distributed, or operated. Hexclave also states that enterprise licenses are available.
How do I self-host Hexclave?
Hexclave says users can export their data and self-host, and the repository includes Dockerfile and Shell material. The texts do not provide a complete installation or operations guide. Operators should consult current deployment documentation and verify dependencies, migrations, backups, monitoring, and secret handling.
How does Hexclave compare with Auth0?
Hexclave documents functions beyond authentication, including teams, billing, email, analytics, webhooks, API keys, and a data vault. It also documents export and self-hosting. The texts do not support broader quality or maturity claims about Hexclave or Auth0, so comparisons should focus on scope and deployment requirements.
Does Hexclave keep user data private?
Hexclave states that users can export their data and self-host. Its data vault is described as server-only and locked with the user's secret, so Hexclave does not see the plaintext. The texts do not specify hosted retention, storage, or support-access policies, so those details require separate confirmation.
Similar projects to compare
- SupabaseApache-2.0Supabase is a Postgres development platform with authentication, generated APIs, realtime subscriptions, file storage, functions, and a dashboard. The main repository uses Apache-2.0, permitting commercial use under its terms. Hosted plans start at $0 per month, while teams can run the Docker configuration on their own infrastructure and manage operations independently.
- AppwriteBSD-3-ClauseAppwrite is an open-source backend platform combining authentication, databases, storage, functions, messaging, hosting, realtime features, firewall controls, and MCP access. It is licensed under BSD 3-Clause, runs through Docker or Kubernetes when self-hosted, and is also available through Appwrite Cloud, which has a Free plan and paid database options.
- PocketBaseMITPocketBase is an open source Go backend combining SQLite, realtime subscriptions, authentication, file management, an admin dashboard, and a REST style API. MIT licensing permits commercial use. PocketBase itself is self hosted, while independent PocketBase Cloud offers managed plans from free to $25 per month. Its portable design suits small applications and teams seeking low infrastructure overhead, though pre 1.0 status and single server scaling require careful operational planning.
- OryApache-2.0Ory is a Go-based collection of cloud-native identity and access services. Kratos manages identity and user flows, Hydra provides OAuth 2.0 and OpenID Connect, Keto evaluates authorization policies, and Oathkeeper protects services at the request boundary. The repositories use Apache-2.0. Ory also offers Network as a managed service and an Enterprise License for supported self-hosting.
- KeycloakApache-2.0Keycloak is an Apache-2.0 identity and access management server for applications and services. It provides user federation, strong authentication, user management, fine-grained authorization, and OIDC and SAML integrations. Teams can run it from downloadable archives, a container image, or an operator. Red Hat also publishes a supported commercial build, while community deployments require operators to provide infrastructure, security configuration, databases, upgrades, and ongoing administration.
- AuthentikMIT (core), mixed repository; enterprise code under separate enterprise licenseAuthentik is an open-source identity provider for teams needing OIDC, OAuth2, SAML, LDAP, RADIUS, SCIM, and proxy access in one self-hosted service. Its core is MIT licensed, while enterprise code is separately licensed. There is no general hosted cloud product advertised, and enterprise pricing starts at $0.02 per external user monthly when billed annually.