I wanted an identity server for my side projects that I could run myself, that didn't need a JVM, and that didn't come with a per-user SaaS bill. Keycloak is great, but it's heavy for a small Node shop. Auth0 and Clerk are easy until you look at the invoice or want your data on your own box.

So I built Idenplane: an open-source (AGPL-3.0), self-hosted identity and access management server written in TypeScript. It speaks OAuth 2.0, OpenID Connect and SAML 2.0, so your apps can sign in through it, or it can sit in front of an identity provider you already have.

This post covers what it does, how to run it in about five minutes, and where it honestly stands today.

What's in the box

Standards first

  • OAuth 2.0 + OpenID Connect: Authorization Code with PKCE, Client Credentials, Device Authorization (RFC 8628) and Refresh Token grants. OIDC discovery, RP-initiated and back-channel logout.
  • SAML 2.0 SSO: issue signed SAML assertions, or sign users in through an external SAML IdP such as Microsoft Entra ID or Okta.
  • SCIM 2.0 provisioning: works with Entra ID and Okta.

Authentication

  • MFA, passwordless and step-up: TOTP, SMS codes, FIDO2/WebAuthn, recovery codes and ACR step-up.
  • Federation and social login: any OIDC/OAuth 2.0 provider, with templates for Google, GitHub and Microsoft, plus LDAP/Active Directory with on-demand or scheduled sync.
  • Risk-based authentication (beta): weighted scoring on IP reputation, device posture, geo-velocity and time of day.

Multi-tenancy and B2B

  • Realms for isolated tenants and organizations for B2B teams, with domain verification through DNS TXT records.
  • Non-human identity (beta): service accounts, workloads and devices, with credential policies and rotation tracking.

Putting sign-in in front of things that have none

  • Forward-auth proxy (new): protect internal apps behind Traefik, nginx or Caddy forward-auth without changing the app.
  • mTLS and certificate-bound tokens (RFC 8705), off by default.

Running it

  • A React 19 admin console with per-realm theming and admin roles (super-admin, realm-admin, view-only).
  • Safe in-place upgrades: pre-upgrade checks, an automatic pg_dump backup and an automatic restore if the upgrade fails.
  • Observability: Prometheus metrics, login and admin events, structured logs.

Five-minute quickstart

You need Docker Compose v2.20+ and Node.js 24 (only for the small setup helper).

curl --fail --location -o docker-compose.yml \ https://raw.githubusercontent.com/idenplane/idenplane/v0.27.0/docker-compose.yml curl --fail --location -o setup-env.cjs \ https://raw.githubusercontent.com/idenplane/idenplane/v0.27.0/scripts/setup-env.cjs node setup-env.cjs && echo IDENPLANE_IMAGE=islamawad/idenplane:0.27.0 >> .env docker compose up -d --wait --wait-timeout 180 

Check that it's up, then open the console:

curl http://localhost:3000/health/ready # Admin Console → http://localhost:3000/console # Swagger API → http://localhost:3000/api 

There is no default password. The helper writes a .env with unique secrets (and never overwrites an existing one); your admin password is ADMIN_PASSWORD in that file. Back that file up: some of those secrets encrypt data at rest.

Adding login to an app

There are SDKs for TypeScript (with React hooks), Next.js, Vue, Angular, Go, Python, Java, Android and iOS (experimental), plus a CLI. In a browser app:

npm install idenplane-sdk 
import { IdenplaneClient } from 'idenplane-sdk'; const auth = new IdenplaneClient({ url: 'http://localhost:3000', realm: 'quickstart', clientId: 'first-app', redirectUri: 'http://localhost:5173/callback', }); 

The getting-started guide walks through creating the realm and client and wiring up the callback end to end.

How it compares

I benchmarked it against Keycloak on the same machine (4 CPUs, 2 GiB each, Keycloak 26.8.2, November 2026):

Idenplane Keycloak
Idle memory 194 MiB 464 MiB
First boot to ready (empty DB) 4.9 s 24.1 s
Token introspection 9,225 req/s 8,803 req/s
Client credentials (4 workers) 3,924 req/s 2,240 req/s

Idenplane has changed since that run, so treat these as a snapshot, not a promise. And to be fair to Keycloak: if you have a JVM team or need its much wider feature set, it's the right answer. If Keycloak already works for you, stay on it. Idenplane is aimed at a different spot: a TypeScript codebase, a smaller footprint, and a deploy story that fits a Node shop.

Security, honestly

Identity software should be upfront about this, so here is where it stands:

  • Passwords are hashed with Argon2id; tokens are RS256 JWTs with a key per realm; access tokens last 5 minutes; refresh tokens rotate, and reuse revokes the session.
  • Secrets are encrypted at rest with AES-256-GCM.
  • Releases are signed (cosign keyless, Rekor), with an SPDX SBOM and SLSA provenance.
  • Every week, automated runs cover OWASP ZAP, the OpenID Foundation conformance suite, a backup-restore drill and an upgrade test.
  • An OWASP ASVS 5.0 Level 2 self-assessment and a threat model are published, failures included.

What it is not: it has not been penetration-tested by a third party, it hasn't been independently audited, and it isn't certified. OpenID conformance is tested, not certified. It's pre-1.0 and maintained by one person. Please weigh that before putting it in front of anything critical.

Don't want to run it yourself?

Self-hosting is free and always will be. If you'd rather not operate it, there's Idenplane Cloud: a dedicated server per customer in the EU, your own domain with automatic TLS, encrypted backups with 30-day point-in-time restore, and managed upgrades, starting at $29/month.

Try it and tell me what breaks

Issues, feedback and "this doesn't work with X" reports are all very welcome. If you have migrated from Keycloak or Auth0 before, I'd especially love to hear what hurt.