talira

Hexclave

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

Hosted by Hexclave

free; Team $49 a month; Growth $299 a month1

Pricing

Hexclave self-hosted

You run it, AGPL-3.0-only

free2

You arrange

  • your own servers and database

Self-hosting docs Code

Capabilities

Has an APIplan not known
Has a command line toolplan not known
Has official SDKsplan not known
Sends webhooksplan not known

Alternatives

The same job

These do what Hexclave does.

  1. Keycloak Open source identity and access management for modern applications and services
  2. Clerk Drop-in authentication and user management with prebuilt UI components
  3. Auth0 Hosted authentication and authorization for apps (an Okta product)
  4. Hanko Open source, privacy-first authentication and user management for modern apps
  5. Authgear Open source identity provider: passkeys, SSO, MFA and passwordless login
  6. Logto The modern, open-source auth infrastructure for SaaS and AI apps

Compare Hexclave with the top 3