About Hexclave
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
Good fit for
- →Adding auth and teams to a Next.js app
- →Billing for SaaS products
- →Replacing separate auth, email and analytics vendors
- Tags
- authentication
- teams
- rbac
- payments
- api-keys
- analytics
- nextjs
- multi-tenancy
- self-hosted
- passkeys
Hexclave: questions and answers
- What is Hexclave used for?
- Hexclave is a user infrastructure platform that handles authentication, teams, RBAC, API keys, payments, emails and analytics for apps, with a dashboard and optional deployment hosting. It is a good fit for adding auth and teams to a Next.js app; billing for SaaS products; and replacing separate auth, email and analytics vendors.
- Is Hexclave open source?
- Yes. Hexclave is open source under a custom licence. Its source code is on GitHub at hexclave/hexclave and is written mainly in TypeScript.
- Is Hexclave free?
- Yes. Hexclave is open source, so the software itself is free to use under the terms of its own licence. A managed cloud version is also available, with paid plans from $49 per month.
- Can I self-host Hexclave?
- Yes. Hexclave can be self-hosted on your own server or infrastructure.
- What is Hexclave an alternative to?
- Hexclave is an open-source alternative to Auth0, Stytch, WorkOS and Clerk. Other open-source alternatives to Auth0 include Logto, ZITADEL and Hanko.
- Is Hexclave actively maintained?
- Yes. The most recent commit to Hexclave was on 2 October 2026. The project has 6.9k stars on GitHub.
Open-source alternatives to Hexclave
See all
Logto
Auth & Identity
🧑🚀 Authentication and authorization infrastructure for SaaS and AI apps, built on OIDC
MPL-2.0vs Auth0★ 15k
ZITADEL
Auth & Identity
ZITADEL - Identity infrastructure, simplified for you.
AGPL-3.0vs Auth0★ 15k
Hanko
Auth & Identity
Open source, privacy-first, and built to scale. Hanko is the fastest way you integrate pas
OSSvs Auth0★ 9k
SuperTokens
Auth & Identity
Open Source User Authentication. Build fast, maintain control, with reasonable pricing.
OSSvs Auth0★ 15k
Keycloak
Auth & Identity
Open Source Identity and Access Management For Modern Applications and Services
Apache-2.0vs Auth0★ 37k
Authorizer
Auth & Identity
Your data, your control. Fully open source, authentication and authorization. No lock-ins.
Apache-2.0vs Auth0★ 2.1k
SaaS alternatives to Hexclave
See all
Auth0
Auth & Identity
Auth0 is an authentication and authorization platform that lets developers add login, single sign-on and access control to apps with SDKs and quickstarts.
SaaS
Stytch
Auth & Identity
Authentication and authorization APIs for passwordless login, MFA and B2B SSO
SaaS
WorkOS
Auth & Identity
Enterprise SSO, directory sync and user management APIs for B2B SaaS
SaaS
Clerk
Auth & Identity
Drop-in sign-in, user management and organization components for web apps
SaaS
Descope
Auth & Identity
Drag-and-drop authentication flows with passwordless login and SSO
SaaS
Frontegg
Auth & Identity
Customer identity and self-service user management for SaaS products
SaaS

