Hexclave

Overview
Hexclave, formerly Stack Auth, is an open-source user infrastructure platform. It handles everything around your users, from authentication and teams to payments, email and analytics, as a catalog of apps you switch on as your product needs them. Every app is built on the same user model. Setup can be done by pasting one prompt into an AI coding agent.
What it does well
Authentication supports passkeys, OAuth and CLI sign-in through one drop-in component, with methods toggled from the dashboard. Teams get workspaces, email invites and nested roles with one permission check that works on server or client. API keys are auto-revoked if leaked. Payments cover subscriptions, one-time charges and usage-based credits for a person or a whole team. Transactional and marketing email share one API with an AI template editor. Analytics include live active users, session replays and dashboards built from plain-English questions. Signed webhooks and an encrypted store for user secrets round it out.
Why it’s in the collection
Hexclave saves you from stitching together separate auth, billing, email and analytics vendors that each keep their own idea of who your users are.
License
Hexclave is licensed per package: client code and examples are MIT, and the server components are AGPL-3.0.
On GitHub
- Stars
- 6,897
- Forks
- 525
- Commits
- 4,084
- Repository
- hexclave/hexclave
Languages
- TypeScript 89.2%
- MDX 3.7%
- JavaScript 2.1%
- Python 1.9%
- Other 3.1%
Compared with
ClerkCommercial authentication and user management for web apps.
Auth0Okta's hosted authentication and identity platform.
WorkOSCommercial enterprise auth and user management APIs.
SupabaseNo. 001Open-source Postgres development platform with auth.
See every open-source alternative to Clerk and Auth0 in the collection.



