Hexclave (formerly Stack Auth)
Last verified 2026-11-30 · Reviewed by guptadeepak
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.
| 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 |
| RBAC | Yes |
|---|---|
| ABAC | No |
| ReBAC | No |
| FGA engine | No |
| API authorization | Yes |
| Fine-grained permissions | Partial |
| 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 |
| REST API | Yes |
|---|---|
| GraphQL API | No |
| SDKs | js, node, react, next |
| CLI | Yes |
| Terraform provider | No |
| Local emulator | Yes |
| Extension model | Server functions + webhooks |
| 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 |
| MCP support | No |
|---|---|
| OAuth 2.1 | Yes |
| Dynamic client registration | No |
| Agent vs human token separation | No |
| Web Bot Auth | No |
| 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 |
| Consent management | No |
|---|---|
| Preference center | No |
| Purpose-specific consent | No |
| Integrates with CMPs | n/a |
| Multi-region deployment | Partial |
|---|---|
| Data residency control | Yes |
| Proven at high scale (1M+ MAU) | No |
| 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 |
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
- Community
- Small
- GitHub stars
- 6,898
Migration & lock-in
Low lock-inEffort to adopt this platform
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/100A computed read of how ready this vendor is to sell into the enterprise, derived from the capability matrix. See the enterprise-ready pillars.
- 65
Enterprise SSO
OIDC SSO · SAML SSO (partial) · Enterprise federation (partial)
- 30
Directory sync (SCIM)
Organizations
- 100
Organizations & tenancy
Organizations · Multi-tenancy
- 60
RBAC & custom roles
RBAC · Fine-grained permissions (partial)
- 80
Audit logs & streaming
Audit logs · Log streaming (partial)
- 25
Compliance certifications
SOC 2 Type II (partial)
- 60
Security posture
Brute-force protection · Breached-password checks · Adaptive / step-up auth (partial)
Scored from our capability review; confirm the exact plan tier and SCIM scope with the vendor before you commit.
Pricing
| 10,000 MAU | $0/mo |
|---|---|
| 100,000 MAU | $299/mo |
| 500,000 MAU | $299/mo |
| 1,000,000 MAU | $299/mo |
- 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
- Hexclave Pricing (formerly Stack Auth)accessed 2026-11-30
- Hexclave Documentationaccessed 2026-11-30
- Hexclave GitHub (moved from stack-auth/stack)accessed 2026-11-30
- Hexclave Aboutaccessed 2026-11-30
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)
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.
Routine profile review: capabilities, pricing, and editorial verdict re-verified.