Idenplane
Open-Source Identity & Access Management
Self-hosted authentication server with OAuth 2.0, OpenID Connect, SAML 2.0, WebAuthn, and more.
What is Idenplane?
Idenplane is a modern, lightweight identity and access management (IAM) server built for teams that need enterprise-grade authentication without enterprise complexity.
Most identity solutions are either:
- Too complex — heavy to run and to customise
- Too limited — Simple JWT libraries lack production features
Idenplane fills that gap with a complete, self-hosted solution with Docker Compose setup and an idle-memory benchmark of about 194 MiB.
Key Benefits
| Benefit | Description |
|---|---|
| Local Docker setup | Generate unique credentials, then start with Docker Compose and wait for readiness |
| Modern stack | TypeScript, NestJS, React, PostgreSQL — no Java, no XML |
| Lightweight | About 194 MiB of RAM at idle vs. 464 MiB for Keycloak, and with one worker per CPU faster than Keycloak on discovery, JWKS, client-credentials tokens and introspection; see Benchmarks |
| Complete | OAuth 2.0, OIDC, SAML 2.0, WebAuthn, MFA, LDAP, SSO, Organizations |
| Extensible | Plugin system, custom auth flows, webhooks, nine SDKs and a CLI |
| Admin Console | Full-featured React dashboard at /console |
Features Overview
Authentication & Protocols
| Feature | Description |
|---|---|
| OAuth 2.0 / OpenID Connect | Authorization Code (with PKCE), Client Credentials, Password, Refresh Token grants |
| SAML 2.0 | Identity Provider for SAML service providers, with signed assertions. Idenplane is not a SAML service provider |
| WebAuthn / Passkeys | FIDO2 passwordless authentication with biometric support |
| Multi-Factor Authentication | TOTP-based 2FA with QR provisioning and recovery codes |
| Adaptive / Risk-Based Auth | Impossible travel detection, IP reputation, device fingerprinting |
| Social Login | Broker external OpenID Connect, OAuth 2.0 and SAML 2.0 identity providers |
| LDAP User Federation | Sync users from LDAP/Active Directory |
| Custom Auth Flows (experimental) | Configurable multi-step authentication with branching; runs at login when the server sets AUTH_FLOW_RUNTIME_ENABLED=true |
| Single Sign-On | Browser-based SSO across all clients |
Identity Management
| Feature | Description |
|---|---|
| Multi-Tenancy (Realms) | Isolated tenants with independent configuration |
| Organizations (B2B) | Organizations with member roles, SSO connections and verified domains |
| Role-Based Access Control | Realm and client-level roles with user assignments |
| Policy-Based Authorization | Attribute-Based Access Control (ABAC) |
| Groups | Hierarchical groups with role inheritance |
| Custom User Attributes | Flexible schema with OIDC claim mapping |
| Service Accounts & API Keys | Backend authentication with key rotation |
| Password Policies | Complexity, history, and expiry requirements |
| Email Verification | Configurable flows via SMTP with themed templates |
Operations & DevOps
| Feature | Description |
|---|---|
| Prometheus Metrics | /admin/metrics endpoint for Grafana dashboards (needs admin credentials) |
| Health Checks | /health/live and /health/ready |
| Structured Logging | JSON logging with Pino |
| Rate Limiting | Configurable throttling per endpoint/client/user |
| Horizontal Scaling | Stateless design for multi-instance deployment |
| Redis Support | Optional shared session storage |
| PostgreSQL | PostgreSQL 16+, self-hosted or managed (RDS, Aurora, Cloud SQL, Azure, Supabase, Neon) |
Architecture Overview
Idenplane follows a modular NestJS architecture with clear separation of concerns:
Supported Standards
| Standard | Support |
|---|---|
| OAuth 2.0 (RFC 6749) | Authorization Code, Client Credentials, Password, Refresh Token |
| PKCE (RFC 7636) | S256 method |
| OpenID Connect Core 1.0 | ID tokens, UserInfo, Discovery, Backchannel Logout |
| Device Authorization (RFC 8628) | Full device code flow |
| SAML 2.0 | Identity Provider only: SP-initiated SSO, signed assertions, metadata exchange |
| WebAuthn / FIDO2 | Credential registration, platform & roaming authenticators |
| TOTP (RFC 6238) | MFA with QR provisioning |
| Argon2id (RFC 9106) | Password hashing |
Tech Stack
| Layer | Technology |
|---|---|
| Backend | NestJS 12, TypeScript 6, Node.js 24 |
| Database | PostgreSQL 16+ via Prisma 7 ORM |
| Admin UI | React 19, Vite 8, Tailwind CSS 4, React Query |
| Auth Pages | Handlebars SSR with per-realm theming |
| Security | Argon2id (passwords), JOSE (JWTs), Helmet (headers) |
| Caching | Redis with Sentinel HA support |
| SDKs | TypeScript, React, Next.js, Angular, Vue, Android, iOS, Java, Python, Go |
When to Use Idenplane
Idenplane is ideal when you need:
- ✅ Self-hosted identity management (no vendor lock-in)
- ✅ OAuth 2.0 / OIDC for modern applications
- ✅ SAML 2.0 (as identity provider) for enterprise applications
- ✅ WebAuthn / Passkeys for passwordless authentication
- ✅ Multi-tenancy with isolated realms
- ✅ B2B features like organizations and SSO
- ✅ MFA with TOTP or WebAuthn
- ✅ LDAP integration for existing directory users
- ✅ Custom authentication flows
- ✅ Webhooks for event-driven architectures
Next Steps
Quickstart Get up and running locally with Docker Compose
Installation Detailed installation instructions for all platforms
SDK Guides Integrate Idenplane with your application
API Reference Complete REST API documentation