The open-source platform for everything user
open coreAGPL-3.0-onlyself-hostablefree
Hexclave (formerly Stack Auth) is an open source platform for the parts of a product that revolve around users: sign-in with email, social logins, magic links and passkeys, teams and role-based access, payments, emails and analytics, all on one shared user model with an admin dashboard. Apps use it through SDKs for JavaScript, Next.js, React and TanStack Start, prebuilt and hosted sign-in pages, or a REST API, and it imports users from Clerk, Auth0, Firebase Auth and Supabase Auth without password resets. It runs as a hosted cloud with a free plan, or on your own servers: the client SDKs are MIT-licensed and the server is under the AGPLv3, with commercial licences for teams the AGPL doesn't suit.
Problems it solves
- add sign-up, login and account settings to my Next.js app without building auth myself
- an open source alternative to Clerk or Auth0 that I can self-host
- move off Auth0 without making every user reset their password
- users need to belong to teams with roles and permissions
- keep user accounts, billing and emails in one place instead of three services
Features
- user authentication: email, OAuth social login, magic links and passkeys
- teams, organizations and role-based access control
- SDKs for Next.js, React, JavaScript and TanStack Start, plus a REST API
- imports users from Clerk, Auth0, Firebase Auth and Supabase Auth without password resets
- payments, transactional emails, analytics and session replays on the same user model
- self-hostable: MIT client SDKs, AGPLv3 server
Ways to run it
Hexclave Cloud
free; Team $49 a month; Growth $299 a month1
Hexclave self-hosted
free2
You arrange
- your own servers and database
Capabilities
| Has an API | plan not known |
|---|---|
| Has a command line tool | plan not known |
| Has official SDKs | plan not known |
| Sends webhooks | plan not known |
Alternatives
The same job
These do what Hexclave does.
- Keycloak Open source identity and access management for modern applications and services
- Clerk Drop-in authentication and user management with prebuilt UI components
- Auth0 Hosted authentication and authorization for apps (an Okta product)
- Hanko Open source, privacy-first authentication and user management for modern apps
- Authgear Open source identity provider: passkeys, SSO, MFA and passwordless login
- Logto The modern, open-source auth infrastructure for SaaS and AI apps