Self-hosted identity that boots in minutes, not afternoons.
Idenplane is an AGPL-licensed identity server for teams that don't want a SaaS bill, a JVM, or vendor lock-in. Use OAuth 2.0, OpenID Connect and SAML 2.0 for your apps, or connect an existing identity provider. Get SDKs for TypeScript, React, Next.js, Vue, Angular, Android and (experimental) iOS.
Free, open source, and self-hosted — with signed release images you can verify.
What you get out of the box
What you need to authenticate users and protect APIs, built on open standards, and the security work behind it, done in the open.
OAuth 2.0 + OpenID Connect
Authorization Code with PKCE, Client Credentials, Device Authorization (RFC 8628), Refresh Token grants. OIDC Core 1.0 with discovery, RP-initiated and back-channel logout. PKCE (S256) is required for public clients.
Read the docsSAML 2.0 single sign-on
Issue signed SAML assertions to your applications, or let users sign in through an existing SAML identity provider such as Microsoft Entra ID or Okta.
Read the docsMFA, Passwordless and Step-Up
TOTP authenticators, SMS codes, FIDO2/WebAuthn for hardware keys and biometrics, recovery codes, and ACR step-up for sensitive operations. Brute-force lockout is on for realms created on 0.10.0 or later.
Read the docsForward-Auth Proxy New
Put sign-in in front of apps that have none. Works with Traefik, nginx and Caddy forward-auth, configured from the admin console, with the user, email and groups passed upstream as headers.
Read the docsmTLS and Certificate-Bound Tokens
OAuth clients and workloads can authenticate with TLS client certificates (RFC 8705), and their access tokens can be bound to that certificate, so a stolen token is useless without the private key. Off by default; added in 0.8.0.
Read the docsMulti-Tenant Realms and Organizations
Isolated realms with independent users, clients, signing keys, themes, and configurations. Org-level B2B teams, member invitations, hierarchical roles, and real DNS TXT domain verification for SaaS multi-tenancy.
Read the docsFederation and Social Login
Sign in through external OpenID Connect and OAuth 2.0 providers, with templates for Google, GitHub and Microsoft, or any compliant OIDC provider. LDAP/Active Directory federation with on-demand or scheduled sync.
Read the docsRisk-Based Authentication Beta
Score login attempts on signals like IP reputation, device posture, geo-velocity, and time-of-day using a rule-based weighted engine. Trigger step-up MFA or block on threshold. APIs to plug in your own scoring.
Read the docsNon-Human Identity Beta
Identities and credentials for service accounts, workloads and devices, with credential policies, rotation tracking and fleet bulk registration. Since 0.8.0 a device can get a token with its own certificate (RFC 8705), off by default.
Read the docsSCIM 2.0 Provisioning
Create, update and deactivate users and groups from Microsoft Entra ID, Okta or another SCIM 2.0 client. Since 0.10.0 Idenplane accepts the requests Entra ID and Okta send, and a user deactivated or deleted through SCIM is signed out everywhere.
Read the docsAdmin Console
React 19 dashboard for realms, users, clients, roles, groups, sessions and events, with per-realm theming. Since 0.9.0 admin roles are enforced: super-admin, realm-admin limited to assigned realms, and view-only.
Read the docsSDKs and CLI
First-party SDKs for TypeScript, React, Next.js, Vue, Angular, Android (Kotlin), Go, Python and Java, plus an experimental iOS (Swift) SDK. A CLI for realm provisioning and CI workflows.
Read the docsSafe In-Place Upgrades
An opt-in upgrade API with pre-upgrade validation, an automatic pg_dump backup before the migration, and an automatic restore if the migration or the post-upgrade health check fails. CI tests the upgrade from the previous release every week.
Read the docsSigned Releases
Since 0.10.0 every image is signed with cosign (keyless, recorded in the public Rekor log) and carries an SPDX SBOM and SLSA provenance. Each GitHub release attaches the SBOM, the image digests and a signed SHA256SUMS. Images before 0.10.0 are not signed.
Read the docsThreat Model and ASVS Self-Assessment
A published STRIDE threat model with its residual risks, and an OWASP ASVS 5.0 Level 2 self-assessment of all 253 requirements: 117 pass, 88 partial, 19 fail, 29 not applicable, with the gaps listed. A self-assessment by the maintainer, not an independent audit.
Read the docsSecure Defaults for New Realms
Since 0.10.0 a new realm locks an account for 5 minutes after 10 failed sign-ins within 15 minutes, progressively and never permanently, and records login and admin events. Existing realms keep their settings; /admin/upgrade/health lists those still without lockout.
Read the docsWeekly Automated Checks
Every week CI runs an OWASP ZAP scan, the OpenID Foundation conformance suite (basic plan: 21 passed, 0 failed; tested, not certified), a backup-and-restore drill, an upgrade test from the previous release, and the OpenSSF Scorecard.
Read the docsPublic Advisories
Every fixed vulnerability gets a GitHub Security Advisory that names the affected and fixed versions, and a Security section in the changelog. Reporters are credited on the acknowledgments page. Only the latest release receives security fixes.
Read the docsSecrets Encrypted at Rest
Since 0.8.0 stored secrets (identity-provider and LDAP credentials, signing keys, TOTP seeds, webhook and audit-stream secrets) are encrypted with AES-256-GCM, and the key can be rotated on start without losing them.
Read the docs9 SDKs and a CLI
SDKs for web, mobile, and server, plus a CLI. OAuth 2.0 + PKCE, automatic token refresh, and platform-native features like biometric-gated tokens.
idenplane-sdk Zero-dependency core + React hooks at idenplane-sdk/react
idenplane-nextjs Middleware, Server Components, API routes
idenplane-vue Composables, plugin, router guard
idenplane-angular IdenplaneModule, AuthService, AuthGuard, AuthInterceptor
Idenplane (Swift Package Manager) Experimental Experimental · Keychain storage, Face ID / Touch ID-gated tokens
com.idenplane:idenplane-android v1.0.0 on Maven Central · EncryptedSharedPreferences, BiometricPrompt-gated tokens
github.com/idenplane/idenplane/packages/idenplane-go Server-side OIDC discovery cache and admin users, roles and groups API
idenplane (PyPI) Server-side OIDC discovery cache and admin users, roles and groups API
idenplane-cli Manage realms, users, clients, and roles from the terminal
com.idenplane:idenplane-java-core Core v1.1.0 on Maven Central · Spring Boot 4, Jakarta and Reactive modules build from source
npm install idenplane-sdk
View all SDK docs
import { IdenplaneClient } from 'idenplane-sdk';
const client = new IdenplaneClient({
url: 'http://localhost:3000',
realm: 'quickstart',
clientId: 'first-app',
redirectUri: 'http://localhost:5173/callback',
});
await client.init();
if (location.pathname === '/callback') {
const signedIn = await client.handleCallback();
const user = signedIn && client.getUserInfo();
document.body.textContent = user
? 'Signed in as ' + user.sub
: 'Sign-in failed. Open the app again to retry.';
} else {
await client.login();
}One compact data-flow
Requests flow top-to-bottom — client to protocol to engine to identity to data.
-
Client Apps
Your SPAs, servers, mobile apps and CLIs
ReactNext.jsVue / AngulariOS / AndroidCLI / M2M -
Protocol Layer
Standards-compliant endpoints
OAuth 2.0 + PKCEOpenID Connect 1.0SAML 2.0 IdPDevice AuthorizationSCIM 2.0JWKS / Discovery -
Auth Engine
Login flows, MFA and session management
Login FlowsMFA / WebAuthnStep-Up AuthRisk ScoringSSO Sessions + 3 more -
Identity Core
Resources, policies and federation
UsersRealmsRoles & GroupsOrganizationsOIDC and SAML brokering / LDAP + 4 more -
Data & Infrastructure
Persistent storage, cache and email
PostgreSQL 16+RedisLDAP / ADEmail (SMTP + 4 more)
Observability: Prometheus metrics, login and admin events, and structured Pino logs. Read the architecture guide
Idenplane vs. the rest
Honest comparison. Sources and dates linked below — open a PR if anything is outdated.
Snapshot as of . See notes below the table.
Suggest a correction| Feature | Idenplane | Keycloak | Auth0 | Clerk |
|---|---|---|---|---|
| Deployment | ||||
| Self-hosted (on your infra) 1 | N/A | N/A | ||
| Open source | ||||
| Official Docker image 1 | N/A | N/A | ||
| Kubernetes deployment | 6 | N/A | N/A | |
| Protocols | ||||
| OAuth 2.0 + PKCE | ||||
| OpenID Connect 1.0 | ||||
| SAML 2.0 identity provider | ~ 2 | |||
| Device authorization | 7 | |||
| Step-up authentication | 6 | 7 | ||
| MFA & Passwordless | ||||
| TOTP (authenticator app) | ~ 3 | ~ 2 | ||
| SMS one-time codes | ~ 3 | ~ 2 | ||
| WebAuthn / passkeys | ~ 3 | ~ 2 | ||
| Recovery codes | 6 | ~ 3 | ~ 2 | |
| Brute-force protection | ||||
| Identity | ||||
| Multi-tenant realms | ~ 7 | |||
| B2B organizations | 6 | |||
| RBAC (roles & groups) | ||||
| LDAP / Active Directory | 9 | |||
| Social / OIDC login | 8 | |||
| Custom attributes | ||||
| Developer Experience | ||||
| REST admin API | ||||
| Web SDKs (React / Vue / Angular) | ~ 6 | |||
| Mobile SDKs (iOS / Android) | ~ 5 | 6 | ||
| CLI tool | ||||
| Webhooks | ~ | |||
| Operations | ||||
| Prometheus metrics 1 | N/A | N/A | ||
| Health-check endpoints 1 | N/A | N/A | ||
| Rate limiting | ||||
| Audit logging | ~ 7 | |||
| Realm / tenant theming | ~ | |||
| Implementation language | TypeScript | Java | N/A (SaaS) | N/A (SaaS) |
| License | AGPL-3.0 | Apache 2.0 | Proprietary SaaS | Proprietary SaaS |
| Idle memory 4 | 194 MiB (1 process) | 464 MiB | N/A | N/A |
| Idle memory, 4 workers 4 | 762 MiB | — | N/A | N/A |
| Token introspection, req/s on 4 CPUs 4 | 9,225 (4 workers) | 8,803 | N/A | N/A |
| Client-credentials tokens, req/s on 4 CPUs 4 | 3,924 (4 workers) | 2,240 | N/A | N/A |
| First boot to ready (empty database) 4 | 4.9 s (1 process) | 24.1 s | N/A | N/A |
- Auth0 and Clerk are managed SaaS: self-hosting and operating the server are not options, so those rows are N/A rather than missing.
- Clerk enterprise SSO (SAML and OIDC connections) starts on the Pro plan; multi-factor authentication and passkeys are also Pro and up (clerk.com/pricing).
- Auth0 lists TOTP, SMS, WebAuthn and recovery codes as MFA factors whose availability depends on the subscription plan (Auth0 MFA factors).
- Benchmark figures are from Idenplane's published benchmark: run on 2026-11-09, Idenplane built from commit 9ed358a, Keycloak 26.8.2, each server pinned to 4 CPUs and 2 GiB on the same machine. "1 process" is Idenplane's default; "4 workers" is WEB_CONCURRENCY=auto. Idenplane has changed since that run and has not been re-measured. Auth0 and Clerk were not measured.
- The Idenplane iOS SDK is experimental; the Android SDK is published on Maven Central.
- Keycloak: Organizations, step-up authentication, recovery codes, device flow and passkeys are listed as supported features (keycloak.org/server/features); Kubernetes deployment is through the Keycloak Operator. The only official browser adapter is keycloak-js, and there are no official mobile SDKs (JavaScript adapter).
- Clerk: device authorization (docs), step-up through reverification (docs), and Organizations that share one user pool rather than isolated tenants (docs). Admin audit logs are on the Business plan.
- Idenplane brokers OIDC, OAuth 2.0 and SAML 2.0 identity providers. It can also issue signed SAML assertions to your applications.
- Clerk's enterprise connections use SAML and OIDC; its docs list no LDAP or Active Directory connection (Clerk enterprise connections).
Run locally with unique credentials
Initialize local secrets, start Docker Compose, and wait for readiness. Production setup needs HTTPS and durable backups.
Generate credentials and start Idenplane
Requires Node.js 24 and Docker Compose v2.20+. The helper creates unique local credentials and refuses to overwrite an existing .env. Read ADMIN_PASSWORD there to sign in as admin.
curl --fail --location -o docker-compose.yml https://raw.githubusercontent.com/idenplane/idenplane/v0.14.1/docker-compose.yml
curl --fail --location -o setup-env.cjs https://raw.githubusercontent.com/idenplane/idenplane/v0.14.1/scripts/setup-env.cjs
node setup-env.cjs && echo IDENPLANE_IMAGE=islamawad/idenplane:0.14.1 >> .env
docker compose up -d --wait --wait-timeout 180 $ docker compose ps Register a public browser client
In the directory containing .env, run these Bash commands once. They create a local realm with self-registration enabled and a public client with one callback URL.
ADMIN_API_KEY="$(node --env-file=.env -p 'process.env.ADMIN_API_KEY')"
curl --fail-with-body http://localhost:3000/admin/realms \
-H "x-admin-api-key: $ADMIN_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"quickstart","registrationAllowed":true}'
curl --fail-with-body http://localhost:3000/admin/realms/quickstart/clients \
-H "x-admin-api-key: $ADMIN_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"clientId": "first-app",
"clientType": "PUBLIC",
"redirectUris": ["http://localhost:5173/callback"],
"webOrigins": ["http://localhost:5173"],
"grantTypes": ["authorization_code"]
}' Sign in to your first app
Run the browser example, create a test account in the quickstart realm, and sign in. The app displays your user ID after the callback.
Run the browser app →Production checklist
You are running locally. Before you ship, walk through this list. The docs link below has the full version with example configs and rollout patterns.
- TLS / HTTPS
Terminate TLS at a reverse proxy (Caddy, Traefik, Nginx) or your platform's load balancer. Idenplane listens on plain HTTP; it sends HSTS and marks its session cookies Secure, which browsers honour only over HTTPS.
- Secrets
Keep the generated database password, admin credentials and the WEBHOOK_SECRET_KEY / WEBHOOK_ENCRYPTION_SALT pair private. That pair encrypts every stored secret: back it up with the database, and change it only through key rotation.
- Backups and images
Schedule pg_dump or your platform's managed Postgres backups and test restores. Pin a release tag, resolve it to a digest and verify its cosign signature before you deploy it.
- Observability
Scrape /admin/metrics for Prometheus (it needs admin credentials), ship structured JSON logs from stdout to your log aggregator, and use /health/live for liveness and /health/ready for readiness.
http://localhost:3000 Need more depth? Read the full deployment guide →
Powerful Admin Dashboard
Full-featured React 19 admin console for managing realms, users, clients, roles, groups, sessions, identity providers, and audit logs — all in real time.
Dashboard
Rather not run it yourself? We'll host it for you.
Idenplane Cloud is the same open-source Idenplane, run by us on a server dedicated to you, under your own domain.
USD, plus applicable sales tax / VAT. Yearly billing: 2 months free. 14-day full refund. See pricing
Prefer to run it yourself? Self-host for free.
- A dedicated server and IP for your instance, never shared
- Your own domain, with TLS certificates issued automatically
- Continuous encrypted backups with point-in-time restore
- Monitoring and managed, signed upgrades
- Export your data any time, encrypted to a key only you hold
Built in the open.
Owned by you.
No vendor lock-in. No surprise pricing. Fork it, extend it, self-host it. Your identity infrastructure, your rules.
How to contribute
Spread the word
Star the repo, share on social, write about your experience with it.
Star on GitHub →For developers
Read the source, run the tests, integrate the SDK.
For teams
Deploy to your infrastructure and manage identity across all your applications.
Things you'll actually ask
The short, honest answers.
Why not just use Keycloak?
Keycloak is the right answer if you have a JVM team, need its wider feature set, or want a project with a long track record. Idenplane targets a different point on the curve: a TypeScript codebase, a smaller default memory footprint, SDKs for web and mobile, and a deploy story that fits a Node shop. If you already run Keycloak in production and it does what you need, stay on Keycloak.
Is Idenplane production-ready?
Idenplane is at v0.14.1, a pre-1.0 release with one maintainer. It covers OAuth 2.0, OIDC, a SAML 2.0 identity provider, MFA (authenticator app, SMS, WebAuthn), OIDC federation, SCIM and an admin console with enforced admin roles. The security work is public: a threat model, an OWASP ASVS 5.0 Level 2 self-assessment (117 pass, 88 partial, 19 fail, 29 not applicable) that lists the open gaps, signed release images, and weekly ZAP, OpenID conformance and restore checks. It has not been penetration-tested by a third party or independently audited, and it is not certified. Read the gaps, run the production checklist, and decide for your own risk tolerance.
Who maintains it?
One maintainer, with no company or funding behind the project. The repository at github.com/idenplane/idenplane is public: issues, pull requests and discussions are open to everyone, and contributions are welcome. Idenplane is AGPL-3.0; a commercial license is available for organizations that can't meet the AGPL's terms.
How are vulnerabilities handled?
Report privately through GitHub private vulnerability reporting, or email [email protected] if you don't have a GitHub account. The targets are best-effort: acknowledgement within 3 business days and a fixed release within 90 days, much sooner for critical issues. Each fix ships in a new release with a Security section in the changelog, and a GitHub Security Advisory names the affected and fixed versions. Reporters are credited on the acknowledgments page. Only the latest release receives security fixes; there are no backports.
How do I know the image I run is the one you built?
Since 0.10.0, every image on Docker Hub (islamawad/idenplane) is signed by the release workflow with a keyless cosign signature, and carries an SPDX SBOM and SLSA provenance. Each GitHub release also attaches the SBOM, the image digests and a signed SHA256SUMS. Verifying Releases shows the commands. Images published before 0.10.0 are not signed.
What's the upgrade story?
Idenplane is before 1.0, so a minor release (0.9 → 0.10) can change behaviour and add migrations, and a patch release is for fixes. Every changelog entry says whether you need to do anything, under "Before you upgrade"; if you skip versions, read the notes of every release in between. Database migrations run on start. Pin a release tag in production. The details are in Versioning and Support.
Have a question that isn't here? Open a discussion on GitHub →