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
- today
- Latest release
- dashboard-v1.0.123
- Self-hosted
- Yes
- Hosted version
- Available

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.