Skip to main content

Idenplane

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​

BenefitDescription
Local Docker setupGenerate unique credentials, then start with Docker Compose and wait for readiness
Modern stackTypeScript, NestJS, React, PostgreSQL — no Java, no XML
LightweightAbout 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
CompleteOAuth 2.0, OIDC, SAML 2.0, WebAuthn, MFA, LDAP, SSO, Organizations
ExtensiblePlugin system, custom auth flows, webhooks, nine SDKs and a CLI
Admin ConsoleFull-featured React dashboard at /console

Features Overview​

Authentication & Protocols​

FeatureDescription
OAuth 2.0 / OpenID ConnectAuthorization Code (with PKCE), Client Credentials, Password, Refresh Token grants
SAML 2.0Identity Provider for SAML service providers, with signed assertions. Idenplane is not a SAML service provider
WebAuthn / PasskeysFIDO2 passwordless authentication with biometric support
Multi-Factor AuthenticationTOTP-based 2FA with QR provisioning and recovery codes
Adaptive / Risk-Based AuthImpossible travel detection, IP reputation, device fingerprinting
Social LoginBroker external OpenID Connect, OAuth 2.0 and SAML 2.0 identity providers
LDAP User FederationSync 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-OnBrowser-based SSO across all clients

Identity Management​

FeatureDescription
Multi-Tenancy (Realms)Isolated tenants with independent configuration
Organizations (B2B)Organizations with member roles, SSO connections and verified domains
Role-Based Access ControlRealm and client-level roles with user assignments
Policy-Based AuthorizationAttribute-Based Access Control (ABAC)
GroupsHierarchical groups with role inheritance
Custom User AttributesFlexible schema with OIDC claim mapping
Service Accounts & API KeysBackend authentication with key rotation
Password PoliciesComplexity, history, and expiry requirements
Email VerificationConfigurable flows via SMTP with themed templates

Operations & DevOps​

FeatureDescription
Prometheus Metrics/admin/metrics endpoint for Grafana dashboards (needs admin credentials)
Health Checks/health/live and /health/ready
Structured LoggingJSON logging with Pino
Rate LimitingConfigurable throttling per endpoint/client/user
Horizontal ScalingStateless design for multi-instance deployment
Redis SupportOptional shared session storage
PostgreSQLPostgreSQL 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​

StandardSupport
OAuth 2.0 (RFC 6749)Authorization Code, Client Credentials, Password, Refresh Token
PKCE (RFC 7636)S256 method
OpenID Connect Core 1.0ID tokens, UserInfo, Discovery, Backchannel Logout
Device Authorization (RFC 8628)Full device code flow
SAML 2.0Identity Provider only: SP-initiated SSO, signed assertions, metadata exchange
WebAuthn / FIDO2Credential registration, platform & roaming authenticators
TOTP (RFC 6238)MFA with QR provisioning
Argon2id (RFC 9106)Password hashing

Tech Stack​

LayerTechnology
BackendNestJS 12, TypeScript 6, Node.js 24
DatabasePostgreSQL 16+ via Prisma 7 ORM
Admin UIReact 19, Vite 8, Tailwind CSS 4, React Query
Auth PagesHandlebars SSR with per-realm theming
SecurityArgon2id (passwords), JOSE (JWTs), Helmet (headers)
CachingRedis with Sentinel HA support
SDKsTypeScript, 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


idenplane.com · GitHub · Discord