Skip to content

Hexclave (formerly Stack Auth)

Last verified 2026-11-30 · Reviewed by guptadeepak

b2b-saasb2ccloud-saasself-hostedtiered-mau

Editorial verdict

Hexclave (renamed from Stack Auth) is a 2023-vintage open-source alternative to Clerk for Next.js teams who want self-hosting as an option, with MIT client SDKs and an AGPLv3 server. The DX is at the developer-first tier; the breadth of compliance, SDK coverage, and enterprise federation is not. For Next.js startups under 50k users prioritizing OSS guarantees, Hexclave is a credible pick alongside Clerk and Kinde.

Last verified by @guptadeepak on 2026-11-30.

At a glance

Best for
Next.js teams that want strict-OSS self-hostable CIAM with Clerk-grade DX
Pricing
tiered-mau
Free tier
10,000 MAU
Deployment
cloud-saas, self-hosted
SOC 2 Type II
Partial
Passkeys
Native
Self-host
Yes
Open source
No

Funding & business

Funding model
Venture-backed
Total raised
$500K
Latest round
Pre-seed · $500K · 2024
Years in business
3 yrs
Round led by
Y Combinator
Profitable
Not disclosed

Investors

Open-source Clerk alternative (Zurich); YC-backed pre-seed.

Funding data from primary source. See also the CIAM investor landscape.

Strengths

  • Next.js-first DX with pre-built components that drop in faster than any other CIAM in 2026.
  • Open source and fully self-hostable: client SDKs under MIT, server under AGPLv3, with commercial licenses for teams that cannot use AGPL.
  • Modern API design with idiomatic React server-component support.
  • Built-in B2B Organizations and team management included from the free tier.

Limitations

  • Very young (2023), small customer base, narrow battle-test coverage.
  • Public plans list no compliance attestations; HIPAA and SOC 2 Type II are handled through a custom enterprise contract.
  • Smaller SDK breadth than Clerk: JavaScript, Next.js, React and TanStack Start SDKs plus a REST API.
  • Enterprise federation is partial; not yet at Auth0 / WorkOS level.

Capability matrix

Every vendor scored on the same axes. See the methodology for criteria.

Authentication
Password authentication Yes
Social login Yes
Magic links Yes
SMS OTP No
Email OTP Yes
TOTP (authenticator app) Yes
Push MFA No
WebAuthn / passkeys Yes
Biometric Yes
Hardware security keys Yes
SAML SSO Partial
OIDC SSO Yes
OAuth 2.0 SSO Yes
Enterprise federation Partial
Passwordless-only flows Yes
Adaptive MFA No
Step-up auth Partial
Swipe table horizontally →
Authorization
RBAC Yes
ABAC No
ReBAC No
FGA engine No
API authorization Yes
Fine-grained permissions Partial
Swipe table horizontally →
User management
Self-service registration Yes
Progressive profiling No
Self-service account Yes
Bulk user import Yes
Admin user search Yes
Custom user metadata Yes
Organizations / tenants Yes
Multi-tenancy Yes
SCIM provisioning No
Swipe table horizontally →
Developer experience
REST API Yes
GraphQL API No
SDKsjs, node, react, next
CLI Yes
Terraform provider No
Local emulator Yes
Extension modelServer functions + webhooks
Swipe table horizontally →
Security
Bot detection No
Breached password detection Yes
Brute-force protection Yes
Anomaly detection No
Log streams Partial
Audit logs Yes
GDPR data export Yes
PII minimization Partial
Post-quantum roadmap No
Swipe table horizontally →
Agentic identity
MCP support No
OAuth 2.1 Yes
Dynamic client registration No
Agent vs human token separation No
Web Bot Auth No
Swipe table horizontally →
Compliance
SOC 2 Type II Partial
ISO 27001 No
ISO 27018 No
HIPAA No
PCI DSS No
GDPR Yes
CCPA Yes
FedRAMP No
EU data residency Yes
Swipe table horizontally →
Consent & privacy
Consent management No
Preference center No
Purpose-specific consent No
Integrates with CMPsn/a
Swipe table horizontally →
Scalability & regions
Multi-region deployment Partial
Data residency control Yes
Proven at high scale (1M+ MAU) No
Swipe table horizontally →
Enterprise operations
Password-hash import Yes
Lazy / just-in-time migration No
Account linking & dedup Partial
Custom domains per brand No
Per-brand theming of all flows No
Per-brand consent partitioning No
Deletion webhooks / cascade No
Event streaming / webhooks Partial
Documented rate limits No
Swipe table horizontally →

Developer experience & lock-in

Editorial 1–5 scores and migration effort, scored on the same axes for every vendor. See the methodology for how these are graded.

Developer experience

DX overall5/5
Docs quality4/5
Passkey orchestration3/5
Community
Small
GitHub stars
6,898

Migration & lock-in

Low lock-in
Migrating inEasy

Effort to adopt this platform

Migrating outEasy

Effort to leave later (your exit cost)

Higher exit effort means more switching cost. Ask about bulk user export (including password hashes) before you commit.

Enterprise readiness

Mostly ready · 60/100

A computed read of how ready this vendor is to sell into the enterprise, derived from the capability matrix. See the enterprise-ready pillars.

  • Enterprise SSO

    OIDC SSO · SAML SSO (partial) · Enterprise federation (partial)

    65
  • Directory sync (SCIM)

    Organizations

    30
  • Organizations & tenancy

    Organizations · Multi-tenancy

    100
  • RBAC & custom roles

    RBAC · Fine-grained permissions (partial)

    60
  • Audit logs & streaming

    Audit logs · Log streaming (partial)

    80
  • Compliance certifications

    SOC 2 Type II (partial)

    25
  • Security posture

    Brute-force protection · Breached-password checks · Adaptive / step-up auth (partial)

    60

Scored from our capability review; confirm the exact plan tier and SCIM scope with the vendor before you commit.

Pricing

Estimated monthly cost (USD)
10,000 MAU$0/mo
100,000 MAU$299/mo
500,000 MAU$299/mo
1,000,000 MAU$299/mo
Swipe table horizontally →
  • Free up to 10,000 auth users; Team $49/month up to 50,000; Growth $299/month with unlimited auth users
  • An auth user is any account in the project, inactive ones included, so the count is not MAU
  • Extra dashboard admins on Team and Growth cost $29/month each
  • Self-hosting is free: client SDKs under MIT, server under AGPLv3, commercial licenses available

Estimates use the standard assumptions in our methodology. Always confirm with the vendor.

Best for

  • Next.js teams that want strict-OSS self-hostable CIAM with Clerk-grade DX
  • Open-source projects that want self-hostable auth (MIT client SDKs, AGPLv3 server)
  • Greenfield startups under 50k MAU

Not for

  • Workloads requiring HIPAA, FedRAMP, ISO 27001, or PCI DSS
  • Teams not committed to Next.js / React
  • Mid-to-large enterprise federation requirements

Solves for

Enterprise pain points this vendor covers on the mapped capabilities. See all pain points.

FAQ

How does Stack Auth compare to Clerk?
Both target Next.js / React DX excellence at the developer-first tier. Clerk is more mature, has broader features, and a larger customer base; Hexclave (formerly Stack Auth) is open source, MIT for client SDKs and AGPLv3 for the server, with a self-host option Clerk does not offer. For OSS-mandated environments, Stack Auth wins; for production maturity, Clerk wins.
Is Stack Auth fully open source?
Yes, under two licenses. Stack Auth is now called Hexclave, and its repository says client code and examples are MIT while server components are AGPLv3, with enterprise licenses on request. Self-hosting is free; Hexclave Cloud is the managed offering with paid tiers.
Should I pick Stack Auth or Hanko?
Both are OSS-leaning developer-first CIAM. Hanko is passkey-first and EU-headquartered with strict GDPR posture; Stack Auth is Next.js-first and US-headquartered with broader auth method support. The pick depends on whether your binding constraint is passkey orchestration (Hanko) or Next.js DX with B2B Organizations (Stack Auth).

Sources

Where to next


What Stack Auth is

Stack Auth launched in 2023 with a focused thesis: open-source the Clerk-style developer experience. It now operates as Hexclave: stack-auth.com redirects to hexclave.com and the GitHub repository moved to hexclave/hexclave. Hexclave also offers payments, emails, analytics and session replays on the same user model. The product surface is Next.js-first, with pre-built React server components that deliver the fastest "npm install to working login" path among the OSS CIAM in this index. Both managed (Hexclave Cloud) and self-hosted deployments are available from the same codebase; client SDKs are MIT and server components AGPLv3.

Where Stack Auth wins

Next.js DX is at the level of Clerk's, with self-hosting free of charge. Client SDKs are MIT; the server is AGPLv3, and a commercial license is available for teams that cannot accept AGPL terms. Pre-built React server components and idiomatic hooks make first-login under 30 minutes for Next.js teams.

Where Stack Auth hurts

Very young, small customer base, narrow battle-test coverage. No compliance attestations are listed on the public plans; HIPAA and SOC 2 Type II go through a custom contract. SDK breadth is heavily Next.js / React focused; teams not on that stack should look elsewhere. Enterprise federation is partial; for serious B2B SAML edge cases, look at Auth0 or WorkOS.

How Stack Auth compares

The closest comparisons are Clerk vs Stack Auth, Hanko vs Stack Auth, and Stack Auth vs BetterAuth for the OSS-Next.js-first decision. For broader OSS CIAM, Keycloak, FusionAuth, and Zitadel are alternatives.

Editorial changelog (2 entries)
  1. Stack Auth is now Hexclave: name, URLs, GitHub (6,898 stars), license (MIT SDKs, AGPLv3 server), pricing tiers and bands ($49 Team, $299 Growth unlimited users), compliance wording and hash import updated from hexclave.com.

  2. Routine profile review: capabilities, pricing, and editorial verdict re-verified.

Last verified by @guptadeepak on 2026-11-30.