Changelog

What's new

Every Idenplane release, read from GitHub Releases when the site is built. Security fixes are also published as GitHub Security Advisories.

v0.14.1

Latest November 2026
Fix A busy server no longer reports itself not ready because its heap passed 300 MB. /health/ready answered 503 whenever the used heap was above a fixed 300 MB, whatever the heap limit of the process. V8 lets the heap grow past that under load when the limit allows it, so a healthy instance under heavy traffic was taken out of rotation by its readiness probe, and its load moved to the other replicas. The check is now relative to the limit the process really has (--max-old-space-size, or the default V8 derives from the container's memory): memory_heap is down only above 90% of it. The response keeps the same shape and still carries no sizes. Found by the DAST scan, where the fuzzed admin writes pushed the heap over 300 MB while the database stayed up.

v0.14.0

November 2026
Added A database migration runs at startup. It adds the tables user_monthly_activity and usage_tracking, and fills the first from the login events still kept (successful sign-ins, code and device-code exchanges, refreshes). That reads the retained login events once, so on an instance with many events (a long retention, a busy realm) the migration takes longer. No existing data changes.
Added New setting USAGE_ACTIVITY_RETENTION_MONTHS (default 13). Monthly activity older than that is deleted every hour. Set off to keep every month. A value that is not 1 to 1200 or off stops the server at startup, so check it before upgrading if you set it in advance. The Helm chart sets it to 13 (env.USAGE_ACTIVITY_RETENTION_MONTHS).
Added Instance usage: monthly active users for the whole server. GET /admin/system/usage returns, in one call, the monthly active users, user accounts and realms of the instance, in total and per realm, with the server version and the exact month boundaries (UTC). It reports the current month by default, or a past one with ?month=YYYY-MM, so a month can be billed once it is over. A user is active in a month when they sign in, get OAuth tokens (refreshes included), get a SAML assertion or use a forward-auth protected application in it; service accounts, impersonation and admin console sign-ins do not count. Activity is recorded in its own table, once per user and month, so it does not depend on login events: it counts in realms with events turned off, is not removed by the event retention, and keeps counting users and realms deleted later. Months that started before the upgrade are marked complete: false. Token refreshes count, background ones included, so an app that refreshes in the background makes its user active every month it does. Server-wide: the admin API key or a super-admin. See the Instance Usage API.
Added Monthly activity is kept for 13 months by default, then deleted. The table holds only the month, the realm id and the user id, and a deleted user's id stays in it until its months are pruned. USAGE_ACTIVITY_RETENTION_MONTHS sets how many whole months before the current one are kept (1 to 1200, or off); the current and previous months are never deleted. One instance prunes, hourly, in batches of 5000 rows. A pruned month is reported with period.pruned: true and complete: false, so "no activity" and "deleted" can be told apart, and the report has a new retention object (months, oldestMonth).
Added Unattended bootstrap: a new instance can come up fully set up from configuration. Set BOOTSTRAP_FILE to a mounted JSON document, or BOOTSTRAP_JSON to the document itself. At the first start of a fresh instance (setup wizard never completed or skipped, no realm but master), the realms it lists are created and the setup wizard is closed, in one transaction under the wizard's own lock. Each realm is a realm export document (version 2), so clients, SMTP, roles, groups, scopes and users are declared the same way an export carries them. Any string may reference a secret as ${env:NAME}, and a user may carry an initialPassword. The whole document is validated first: for example, a confidential client without a secret, a client secret under 32 characters, or a default password is refused, and no value from the document is ever logged. A bootstrap that fails stops the server before it listens and writes nothing, so the instance is never reported ready half-configured; the next start retries from scratch. Replicas and WEB_CONCURRENCY workers starting together apply it exactly once. Later starts never apply it again, even if it changed, and an instance that already has realms is left untouched with a warning. The Helm chart exposes it as bootstrap.* (rendered into a Secret, or bootstrap.existingSecret), with a helm test that checks the wizard is closed. A new CI job builds the image and checks the behaviour with plain docker run. See Unattended Bootstrap.
Changed Contributions to the server need a signed Contributor License Agreement. Idenplane is AGPL-3.0, and the maintainer also offers the server under a commercial license and as a hosted service. Contributors now sign the CLA, adapted from the Apache Software Foundation's, once, by a comment on their pull request. They keep their copyright and grant the maintainer a license that includes relicensing. The CLA commits the maintainer to keep every contribution he distributes available under the open-source license too. Pull requests that only change the MIT-licensed packages/ or terraform-provider-idenplane/ do not need it. A new license/cla status (.github/workflows/cla.yml) checks every pull request to dev and main and records signatures in the cla-signatures branch. See CONTRIBUTING.md. Nothing changes for people who run Idenplane.
Fix Helm: backups.enabled now mounts the backup volume on its own. The volume was only mounted when persistence.enabled or volumeMounts was also set, so upgrade backups were otherwise written to the container filesystem.
Fix A server that cannot start now always logs why, as its last log line. Some startup failures did not reach the log as a log line. This covered unattended bootstrap, the admin seed's ADMIN_PASSWORD check, a production start without WEBHOOK_SECRET_KEY or WEBHOOK_ENCRYPTION_SALT, an unsafe ADMIN_API_KEY or client-certificate setting, and an invalid WEB_CONCURRENCY. Some were printed as a bare Node.js stack trace on stderr, after the buffered log lines had been flushed. Others went to the console as plain text before the process exited. A log collector (or docker logs ... | grep) could therefore miss the reason, or find it in the middle of the startup lines. Every such failure is now logged exactly once, at error level ("level":50, "context":"Startup"), through the server's own logger and in the same format as every other line, with the reason in msg and the error with its cause in err. Every pending line is then written out and the process exits with code 1. Nest now logs through that logger from its first line instead of buffering until the application exists. A module that cannot be created is logged once and exits with 1 instead of aborting the process. A healthy start logs the same lines as before. The image check for unattended bootstrap also stops piping docker logs into grep -q, which failed at random under pipefail, and now checks that the reason is the last line, at error level and logged once, for a failed bootstrap and two other startup checks.

v0.13.1

November 2026
Added No new database migrations or configuration changes are required when upgrading from 0.13.0. Private and loopback back-channel logout URLs continue to work.
Added BACKCHANNEL_LOGOUT_ALLOW_LINK_LOCAL=true still deliberately permits link-local and metadata destinations; leave it unset unless your deployment requires them.
Added The setup wizard now actually sends its SMTP test message. An unreachable or refusing mail server returns 502 instead of a false success.
Security Back-channel logout pins its connection to the validated IP address. DNS rebinding can no longer switch a checked hostname to a link-local or cloud-metadata address when the connection opens. Private and loopback relying parties remain supported, redirects are never followed, response bodies are discarded, and the 10-second deadline includes DNS resolution. BACKCHANNEL_LOGOUT_ALLOW_LINK_LOCAL=true remains an explicit override; it does not disable pinning.
Fix The setup wizard's SMTP test sends a test email. Send Test in the wizard's email step said "Test email sent successfully!", but POST /setup-wizard/smtp/test only checked that a host and port were saved and sent nothing, ignoring the to address. It now saves the form, then sends a test message to to through the saved SMTP settings. It answers like the realm SMTP test: 400 when nothing is saved, and 502 with a short reason when the server refuses the message or cannot be reached. The server's own reply is logged, not returned.
Changed The npm packages are published with npm trusted publishing only. The publish workflows no longer pass the NPM_TOKEN fallback, so every release is published through the workflow's GitHub OIDC identity, with provenance. They also use the npm that Node 24 bundles instead of installing an unpinned one. Patch releases idenplane-sdk 2.0.1, idenplane-angular 2.0.1, idenplane-nextjs 2.0.1, idenplane-vue 1.1.1, idenplane-mcp 0.1.1 and idenplane-cli 1.1.1 are the first published this way; idenplane-mcp 0.1.1 also carries its dependency updates since 0.1.0 (zod 4 among them) and reports its real version to MCP clients instead of a hard-coded 0.1.0.

v0.13.0

November 2026
Added Database migrations run at startup. They add password_histories.password_algorithm, users.scim_external_id, users.scim_profile and groups.scim_external_id (all nullable, with an index on each externalId column), and the tables saml_broker_requests and saml_broker_assertion_ids. Two rewrite identity provider types stored as a supported type in another case (OIDC, OAuth2, SAML) to oidc / oauth2 / saml. No other existing data changes, and no one is signed out by the upgrade.
Added Check GET /admin/upgrade/health after the upgrade for the new identity_provider_types warning: SAML providers stored before 0.13.0 have no SAML configuration yet, and other types the broker does not use are listed (below).
Added Behaviour you may notice:
Added If you provision users with SCIM (see Changed below):
Security An admin's "Reset MFA" now removes the user's passkeys too. DELETE /admin/realms/{realm}/users/{id}/mfa removed the authenticator app, the SMS phone and the recovery codes, but left every WebAuthn credential. A passkey signs in on its own, without the password, so a passkey registered by whoever took an account over kept working after the reset meant to recover it. The full reset now removes the user's passkeys as well, and still signs the user out everywhere. Passkeys carry no flag saying whether they are used passwordless or as a step-up, so the reset cannot tell an attacker's from the user's own: an admin who knows they are the user's passes ?keepPasskeys=true (or ticks Keep the user's passkeys in the console), and any other value than true/false is refused with 400. New routes list a user's passkeys (GET .../users/{id}/mfa/passkeys) and remove one (DELETE .../users/{id}/mfa/passkeys/{credentialId}, with the same MFA step-up as the other MFA routes, and signing the user out everywhere). GET .../mfa/status also returns passkeys, the number of the user's passkeys; enabled and methods are unchanged. The console's user Security tab lists the passkeys with a Remove button each, and offers Reset MFA for a user whose only credentials are passkeys. A user who signs in with passkeys only cannot sign in after a full reset until an admin sets a password or the user resets it.
Security A migrated user's imported password is now part of the password history. Password history only held hashes Idenplane wrote itself, so a user imported from Keycloak, Auth0, Authentik or Zitadel (or whose password was set while passwordHistoryCount was 0) could "change" their password to the same one. The user's current password now always counts as used, checked in its own format (Argon2, bcrypt, PBKDF2, and the unlabelled PBKDF2 rows imported before 0.11.0, with the user's passwordAlgorithm). When a password is replaced, the old hash is added to the history if it was not there yet, with its algorithm, so it stays refused for the next changes too. Migration: adds the nullable password_histories.password_algorithm.
Security Wrong current passwords in the account console now count toward the account lock. The account console asks for the current password before changing the password, adding or removing an SMS phone, turning off the authenticator app, and requesting or cancelling account deletion. Those checks were only rate-limited per IP, so someone holding a user's session (a shared computer, a stolen cookie) could keep guessing the password from several addresses without ever locking the account. A wrong password there is now a login failure, with the same limits as the sign-in page (maxLoginFailures within failureResetTime locks the account for lockoutDuration, and permanentLockoutAfter applies); while the account is locked these forms are refused without checking the password; the right password clears the failures, as a sign-in does. An empty password field is not counted.
Security SCIM sets passwords, with the realm's password policy and the usual sign-out. SCIM accepted password and silently dropped it, so an IdP that synced passwords (Okta's Sync Password) left users with no password or an old one. A password sent on POST /Users, PUT /Users/{id} or PATCH (path password, the URN-prefixed path, or a path-less {"password": ...}) is now checked against the realm's policy and password history, refused with 400 invalidValue naming the rule (nothing in the request is applied), hashed with Argon2id, and never returned or logged. Setting it is a credential reset, as when an admin sets it: the user's sessions and refresh tokens (offline ones included) and proxy sessions end, brute-force failures are cleared, and the history is updated. Re-sending the user's current password is not a change, so Okta's updates do not sign users out or trip the history check. ServiceProviderConfig now reports changePassword.supported: true. A user federated from LDAP never gets a local password through SCIM, which would silently move them from LDAP to local password sign-in: a PATCH setting their password is refused with 400 mutability (nothing in the request is applied), and the password in a PUT is dropped while the rest applies, so Okta's password-synced profile updates keep working.
Security SCIM phoneNumbers are stored apart from the SMS MFA number. The new SCIM profile keeps phone numbers as provisioning data only; users.phone_number (the verified SMS factor) is never written by SCIM. The user's own data export (account console) includes the SCIM externalId and profile; realm exports leave them out, since the IdP writes them again on its next sync.
Security Ending a user's sessions now tells the apps (OpenID Connect Back-Channel Logout). When Idenplane ended sessions itself, clients with a backchannelLogoutUri were not told and kept the user signed in: only the user's own sign-out sent logout tokens. Now every OAuth session that ends sends one to each client it was used with: an admin ending one session (DELETE /admin/realms/{realm}/sessions/{id}, and continuous verification ending a risky session) or all of a user's (DELETE /admin/realms/{realm}/users/{id}/sessions), disabling or deleting a user, SCIM deactivation, every credential change that signs the user out everywhere (a password set, reset or changed, second factors removed), a new sign-in evicting the oldest session at maxSessionsPerUser, a reused refresh token ending its session (a sign of token theft, so the app must drop the session too), and an authorization code replayed by its client ending the session issued from it. Offline sessions are included: these sign-outs revoke offline tokens too, so a client holding one is told its session (sid) is gone. Sending happens after the sign-out has committed, in the background (10-second timeout, no redirects, at most 8 in flight per server); a client that is slow or down never delays or fails the sign-out, and a failed delivery is logged as a warning, not retried. A browser SSO session ending, and a session reaching its maximum lifetime, send nothing. See the authentication guide, "Back-Channel Logout".
Security The SSO idle timeout now ends idle OAuth sessions and tells their apps. An OAuth session whose refresh token went unused past ssoSessionIdleTimeout could no longer be refreshed but stayed listed, and its clients were not told, until its maximum lifetime. Idle OAuth sessions are now deleted by the hourly clean-up, which corrects the 0.12.0 note that such a session "stays listed until its maximum lifetime"; the clean-up also sends its clients a logout token. Offline sessions are still exempt. Only realms with an idle timeout set are affected.
Security Logout tokens are never sent to link-local or cloud-metadata addresses. A backchannelLogoutUri that is, or resolves to, 169.254.0.0/16 (the 169.254.169.254 metadata service), fe80::/10, AWS's fd00:ec2::254, Alibaba's 100.100.100.200 or Oracle's 192.0.0.192 (also embedded in IPv6) is refused at each delivery and the refusal logged, so a realm admin cannot point Idenplane's POSTs at the cloud credentials endpoint. Private and loopback addresses stay allowed, since an app on the operator's network is a normal back-channel target. BACKCHANNEL_LOGOUT_ALLOW_LINK_LOCAL=true lifts the check. The check is not DNS-pinned (see the threat model).
Added Upgrade health check 12, identity_provider_types. GET /admin/upgrade/health warns about identity providers the broker cannot sign in with, each as realm/alias (type, enabled|disabled). A SAML provider without a valid SAML configuration is listed as needing configuration review: every saml row stored before 0.13.0, when Idenplane had no SAML broker, has none, and samlp / adfs rows (Auth0 exports) also need their type set to saml. Any type other than oidc, oauth2 and saml is listed as unsupported. An enabled one shows a login button that cannot complete a sign-in. A warning only, it never blocks an upgrade.
Added SCIM externalId is stored, returned and filterable for users and groups (filter=externalId eq "...", case-sensitive as RFC 7643 defines it), so Entra ID and OneLogin can match on it and get it back.
Added SCIM stores and returns the rest of the User schema. displayName, nickName, profileUrl, title, userType, preferredLanguage, locale, timezone, name.formatted/middleName/honorificPrefix/honorificSuffix, phoneNumbers, addresses and the enterprise extension (employeeNumber, costCenter, organization, division, department, manager) were accepted and dropped; they are now kept in a per-user SCIM profile and returned, so what an IdP writes reads back the same. Entra ID's forms are understood: phoneNumbers[type eq "work"].value and addresses[type eq "work"].locality create the typed value when it is missing, and manager may be a bare id. Users with enterprise attributes list the extension URN in schemas. ims, photos, entitlements, roles and x509Certificates are still accepted and dropped.
Added SCIM filters join comparisons with and and or (and binds tighter, up to 20 comparisons), and Groups filter on members/members.value and externalId, which covers Entra ID's membership check id eq "<group>" and members eq "<user>". Parentheses, not and value-path filters are still refused with 400 invalidFilter.
Added SCIM attributes and excludedAttributes work everywhere: on every list, search and single read of users and groups (user reads ignored excludedAttributes, and group reads ignored attributes), and on PUT and PATCH responses. Names are case-insensitive and may be dotted or URN-prefixed. A group read with excludedAttributes=members no longer loads its members.
Added SCIM Bulk resolves bulkId references (RFC 7644 §3.7.2): "bulkId:<id>" in an operation's data or path becomes the id the referenced POST created, in whatever order the operations are listed. An unresolvable (unknown, failed or circular) reference fails that operation with 409 invalidValue; before, the literal string was used.
Added Docs: configuring Entra ID and Okta. The SCIM guide has step-by-step setup for Microsoft Entra ID and Okta (and OneLogin) with the exact base URL and bearer token, what each client sends, and sections on passwords, discovery, replace semantics and attribute selection.
Added Docs: Migrating from Authentik. The Authentik importer (POST /admin/migration/authentik, the console's Migration Wizard and now the CLI) had no guide. The new page covers creating an API token, fetching every page of users, groups, OAuth2 providers and OAuth sources, reading password hashes from Authentik's database (the REST API does not return them) and putting it all in one file, then the dry run, the import, the report and every warning it can contain, which Django hashers carry over, the mapping from Authentik concepts, and the steps after the import: PKCE for public clients, web origins and grant types, e-mail verification, identity provider URLs and trustEmail, the issuer and sub change, MFA re-enrolment, testing, cut-over and rollback. Linked from the sidebar, the Keycloak and Auth0 guides, the CLI page, the docs home page and the README.
Added idenplane migrate authentik. The CLI imports an Authentik file like the other importers: idenplane migrate authentik --file <path> --realm <name> [--dry-run] [--add-memberships-to-existing-users] [--json]. The four migrate subcommands now share one implementation.
Added Sign in through a SAML 2.0 identity provider. A realm can add Microsoft Entra ID (Azure AD), Okta, ADFS, Google Workspace, Keycloak or any SAML 2.0 IdP as an identity provider (providerType: "saml"), with Idenplane as the SAML service provider. It shows on the login page and in a custom flow's social step like an OIDC provider, and the external account is linked to, or creates, a local one through the same first-login and account-linking path (trustEmail, link-only, profile sync); the realm's MFA policy then applies as usual. See the new guide Sign in with a SAML identity provider.
Changed npm packages are published with trusted publishing. The publish workflows for idenplane-sdk, idenplane-angular, idenplane-nextjs, idenplane-vue, idenplane-mcp and the new idenplane-cli workflow authenticate to npm with the job's GitHub OIDC token (npm trusted publishing) and attach provenance, so no long-lived npm token is needed once each package names its workflow as a trusted publisher. NPM_TOKEN remains a fallback. idenplane-mcp now publishes with provenance too.
Changed idenplane-cli is published from CI. A new publish-cli.yml publishes packages/idenplane-cli on cli-v* tags, after a typecheck, tests and a tag/version check. idenplane-cli 1.1.0 adds idenplane plugins hash.
Changed SCIM discovery claims only what works. /ServiceProviderConfig no longer lists an apiKey authentication scheme the server never accepted, its Bulk maxPayloadSize (10 MB) now matches the real limit (1 MiB), and it links to the SCIM guide. /Schemas describes password (writeOnly, returned: never), drops the attributes that are not stored, gives every attribute the characteristics RFC 7643 §7 lists, and fixes returned flags that contradicted the responses (groups and emails.primary were never but returned; phoneNumbers and addresses were always but never returned). Schemas, resource types and the configuration carry meta, and are found case-insensitively.
Changed SCIM request bodies may be up to 1 MiB (other endpoints keep 100 KB), so Okta can PUT a group with thousands of members; the limit is the Bulk maxPayloadSize advertised.
Changed SCIM PUT replaces (RFC 7644 §3.5.1): a stored attribute left out of the body is cleared, except active and password, which are kept. PUT /Users/{id} kept the old name and email when the body left them out, and PUT /Groups/{id} kept the old members when the body had no members. id, meta and groups in a PUT or POST body are ignored rather than refused.
Changed SCIM PATCH /Groups/{id} is one transaction and answers 204 unless the request asks for attributes/excludedAttributes, then 200 with the group: returning the whole member list after each of Entra ID's member batches cost more than the change. Bulk reports group PATCHes as 204 and every DELETE with its location.
Changed SCIM uniqueness is case-insensitive. userName, email and group displayName are checked the way the eq lookup compares them, so a client can no longer create Ada next to ada and then get two results from its userName eq lookup, which Entra ID and Okta treat as an error.
Changed SCIM list pages are ordered by name, then id, so pages never overlap or skip a resource.
Changed Logout tokens go only to the clients the session was used with. The user's own sign-out sent a logout token, carrying the user's id, to every client of the realm with a backchannelLogoutUri, including apps the user had never signed in to. It now sends one only to the clients holding the session's refresh tokens (falling back to the client of the authorization code the session came from, and, when neither is recorded, as for refresh tokens issued before they recorded their client, to every client with a backchannelLogoutUri as before), and always names the session (sid): a client with backchannelLogoutSessionRequired: false used to get a sub-only token, which tells it to end all of the user's sessions, when only one had ended. It still gets a single sub-only token when the user is signed out everywhere.
Changed A logout naming only the user no longer ends their offline sessions. RP-initiated logout with an ID token that has sub but no sid, and an inbound logout token with sub only, ended every session of the user, offline ones included, which Back-Channel Logout 1.0 §2.7 says normally should not happen. They now end the user's sessions and leave offline sessions alone (they are also limited to the realm's own users). Signing out with the offline sign-in's own ID token or refresh token still ends that offline session.
Changed Logout tokens are explicitly typed with the typ header logout+jwt, as Back-Channel Logout 1.0 §2.4 recommends (it was JWT), and the token is sent form-encoded with URLSearchParams. RP libraries that follow the specification accept both; one that compares typ to JWT must accept logout+jwt.
Fix Identity provider types stored in another case are normalized. Since 0.12.0 the admin API stores providerType in lower case, but rows saved earlier could read OIDC, OAuth2 or SAML, which the console showed as an unsupported type that had to be changed before saving. Migrations rewrite them to the canonical value.
Fix A password reset by email now applies the password history. passwordHistoryCount was enforced in the account console, on the expired-password page and for admins, but the reset-by-email page accepted any password, the current one included. It now refuses a recent password with "Password was used recently" before the reset link is used up, so the user can choose another password with the same link.
Fix The Authentik importer takes what Authentik's API returns. Before, the file had to be reshaped by hand, and the shapes Authentik actually returns failed:
Fix Migration guides gave the wrong request size and password-grant behaviour. The Keycloak and Auth0 guides said the import endpoints accept 100 KB; since 0.11.0 they accept 10 MB. They also said migrated users fail the password grant until a first browser sign-in; the password grant checks imported hashes like the login page and upgrades them the same way.
Fix A federated sign-in for an account already linked to the provider through another external account no longer fails with a server error. When an OpenID Connect (or SAML) provider vouched for a new subject whose trusted, verified email belonged to a local account already linked to that provider, the sign-in hit a database constraint and returned 500 (in a custom flow, the login transaction ended). It is now refused with a clear message (HTTP 409; in a flow the social step fails and its fallback can run) and recorded as a LOGIN_ERROR login event with error federated_identity_conflict, naming the provider and both subjects. The account is never relinked to the new external account.

v0.12.0

November 2026
Added A database migration runs at startup. It adds realms.sso_session_idle_timeout (default 0, off) and login_sessions.last_activity_at. It changes no existing data, and no one is signed out by the upgrade.
Added Helm: the networkPolicy values changed shape (the old block selected labels that matched nothing, and rendered nothing). A values file that still carries the old networkPolicy block fails the chart's schema on helm upgrade; remove it, or rewrite it as in the chart README. The chart is now 0.8.0.
Added Behaviour you may notice:
Security Credential resets by an admin now end the user's sessions. When an admin set a user's password (PUT /admin/realms/{realm}/users/{id}/reset-password) or removed their second factors (DELETE .../users/{id}/mfa, .../mfa/totp, .../mfa/sms), the user's sessions and refresh tokens stayed valid, so someone signed in with the old credentials stayed signed in, for up to 30 days with an offline token. Each of these now signs the user out everywhere: every OAuth session ends and its refresh tokens are revoked (offline tokens included), and every browser SSO and forward-auth proxy session ends. Access tokens already issued stay valid until they expire (5 minutes by default). SCIM cannot set a password, so it has no such path.
Security Changing your password in the account console now signs you out everywhere else. Every other SSO session, every OAuth session (offline tokens included) and every proxy session ends; the browser that made the change stays signed in, and apps can sign the user in again silently through it. A password changed because it expired, during sign-in, ends every existing session the same way. The reset-by-email path already ended every session and is unchanged, apart from also ending proxy sessions.
Security An admin's console tokens now end when their credentials change. Resetting an admin's MFA (DELETE /admin/admin-accounts/{id}/mfa), setting a master realm user's password, disabling them, or signing them out of all sessions makes every console token they hold stop working at once. Console tokens are stateless JWTs that could only be revoked one by one, so they used to stay valid for up to an hour. The check reuses the revocation lookup every console request already makes. Console tokens now carry their issue time in milliseconds (iat_ms), so an admin can sign in again right away. An admin who sets their own password through the users API is signed out of the console too, and signs in again with the new password.
Security Signing a user out of all sessions could miss a session created at that moment, and missed proxy sessions. The admin "sign out all sessions", disabling a user and SCIM deactivation read the user's session list first and ended those, so a sign-in completing in between survived; they now end every session of the user in one statement each, in one transaction, and end forward-auth proxy sessions too.
Added SSO session idle timeout (ssoSessionIdleTimeout, Keycloak's setting of the same name). A realm setting, in seconds: a browser SSO session not used for that long ends (an authorization request or a hosted page reading the cookie counts as use), and each normal refresh token is issued for at most that long, so an OAuth session that is not refreshed in time ends. Offline sessions are not affected. Off (0) by default, for new and upgraded realms, so the upgrade signs no one out; it matters once refreshTokenLifespan is raised above its 30-minute default. Set it in the admin API (PUT /admin/realms/{realm}; 0 or at least 60) or the console (Realm settings > Tokens), longer than accessTokenLifespan. The last use of a browser session is written at most once a minute, so a session can end up to a minute early, never late. Idle SSO sessions are not listed or counted as active, and the hourly clean-up deletes them; an OAuth session whose refresh token expired from idleness can no longer be refreshed but stays listed until its maximum lifetime. An idle timeout applies to an OAuth session from its next refresh token: tokens issued before it was set keep their expiry. Keycloak imports carry the setting over, so an imported realm keeps Keycloak's idle timeout (30 minutes by default). Migration: adds realms.sso_session_idle_timeout (default 0) and login_sessions.last_activity_at (existing sessions count as used at the upgrade).
Added Helm: networkPolicy now renders a NetworkPolicy. The chart had a networkPolicy value but no template, so setting it did nothing. With networkPolicy.enabled: true (off by default) the Idenplane pods accept traffic only on the application port, from the sources in networkPolicy.ingress.from (any source when empty), and reach out only to DNS, PostgreSQL (the bundled pod, or networkPolicy.egress.postgresql.port/.to for an external database), the bundled Redis when enabled, and the rules in networkPolicy.egress.extraRules. networkPolicy.egress.enabled: false restricts ingress only. The value's shape changed (ingress.rules/egress.rules are replaced by from, dns, postgresql and extraRules, and the schema rejects the old keys); the old keys never had an effect. See the chart README and the Kubernetes guide.
Added idenplane plugins hash exists. The server's error for an unverified plugin in production said to generate a manifest with idenplane plugins hash, but the CLI had no such command. It now prints, or with --write writes, the integrity manifest the plugin loader checks: plugins/.manifest.json, or with --npm node_modules/.idenplane-plugin-manifest.json, mapping each plugin's directory or package name to the SHA-256 of the entry file the server loads. The loader now accepts a local plugin's directory name as its manifest key (before, only the entry file's absolute path matched, so a manifest made on one machine failed in a container), reads the local manifest from the plugins directory it scans, and compares hashes case-insensitively. Manifests keyed by file path keep working.
Changed OpenSSF Scorecard sees the Gradle wrapper validation. The two gradle-wrapper.jar files were already checked against Gradle's checksums in CI, but Scorecard only counts that when the validating workflow has already succeeded on the commit it scans, and it scanned on push, before CI finished. A dedicated, seconds-long Gradle wrapper validation workflow now runs on every push to dev and weekly, and Scorecard starts when it completes.
Changed PR hygiene runs the checks it lists, on the PRs contributors open. pr-hygiene.yml said it blocks workflow changes from contributor PRs, but no step did, and it ran only on PRs to main, while contributor PRs target dev. It now runs on PRs to dev and main, diffs each against the PR's own base branch (it always diffed against main), and fails a PR from a fork that changes .github/workflows/. Branches of this repository (the maintainer's, Dependabot's, the dev→main promotion) may still change workflows.
Removed OIDC discovery no longer advertises passkey_endpoint. A realm with WebAuthn enabled listed passkey_endpoint: {realm}/webauthn, a URL nothing served. The field is not defined by OpenID Connect Discovery or any other specification, and nothing read it. The WebAuthn endpoints that do exist are still advertised as webauthn_registration_endpoint and webauthn_authentication_endpoint.
Fix Offline sessions counted toward the per-user session limit, and sign-ins evicted them. maxSessionsPerUser counted a user's offline sessions (offline_access) with their normal ones, so with a cap of 10 the eleventh sign-in could end an app's 30-day offline grant, and an offline sign-in could end a normal session. Offline sessions are now outside the cap: they don't count, a new sign-in never evicts one, and creating one evicts nothing.
Fix A test email that was not sent is now an error, not HTTP 200. POST /admin/realms/{realm}/email/test answered 200 with {"success": false} for a missing recipient or a realm without email settings, and POST /admin/realms/{realm}/smtp/test answered 200 with the provider's raw error text when sending failed. Both now return 200 only when the provider accepted the message, 400 for a missing or invalid to or a realm without usable email settings, and 502 when the provider refused the message or could not be reached. The 502 message names the likely cause (rejected credentials, no connection, a refused address) and never carries the provider's error, the SMTP credentials or a stack trace; the full error is logged (Test email for realm "<realm>" failed ...). It is returned in production too, where other 5xx messages stay generic. The console shows that reason under Send Test and Test Connection. Scripts that checked success in a 200 response should check the status code; the Terraform provider's SendTestEmail now reports these failures.
Fix Importers no longer create identity providers that cannot sign anyone in, and providerType is checked. Idenplane's broker signs users in over OpenID Connect and OAuth 2.0 only; there is no SAML broker. The Keycloak, Auth0, Zitadel and Authentik importers still created SAML identity providers (enabled, with no endpoints), stored any unknown Keycloak type or Auth0 strategy (including passwordless email/sms connections) as OIDC, and created social providers with empty authorization and token URLs. Now an identity provider is imported only with a supported type (oidc or oauth2, stored lower-case), a client ID and http(s) authorization and token URLs, with its user-info and JWKS URLs, issuer and default scope when the export has them. Keycloak's google, microsoft and github providers and Auth0's google-oauth2, windowslive and github connections get those services' endpoints filled in. Anything else (SAML, unknown types, missing endpoints) is skipped, counted under summary.identityProviders.skipped and named in warnings with the reason, in dry runs too. A provider exported without a usable client secret (Keycloak's **********) is imported disabled, with a warning. Realm imports (version 1 and 2) skip an identity provider whose providerType is not oidc or oauth2 and list it in warnings, and the admin API refuses any other providerType with 400 (the console no longer offers SAML). Identity providers already stored as SAML are not changed; the console shows them as "not supported" until another type is chosen.
Fix Users still on a migrated password hash could sign in but not confirm their password anywhere else. Sign-in accepts the bcrypt and PBKDF2 hashes the Keycloak, Auth0, Authentik and Zitadel importers write, but the account console (change password, add or remove an SMS phone, turn off the authenticator app, request or cancel account deletion) and the admin console sign-in checked the password with Argon2 only, so they rejected the right password. They now use the same check as sign-in, and a matched migrated hash is moved to Argon2id as on sign-in. The password-history check ("don't reuse your last N passwords") also understands bcrypt and PBKDF2 entries, so a reused password is still refused. A malformed or unrecognised hash never matches.
Fix Response time no longer reveals which usernames exist. A sign-in for a username that doesn't exist, a disabled account or an account without a password failed in a few milliseconds, while a wrong password for a real account took as long as an Argon2id check. The hosted login, the password grant and the admin console sign-in now spend one Argon2id check in those cases too.

v0.11.1

November 2026
Security A reused refresh token now ends its session. When a refresh token is presented again after it was redeemed, every refresh token of the session was revoked, but a concurrent request that redeemed the same token could store its new refresh token right after that revocation, and that token kept working. The session is now ended as well, so the new token cannot be stored, or is removed with the session.
Changed Release workflow: the publish job retries the SBOM attestation check for a few minutes, since Docker Hub can list a new attestation late (the v0.11.0 publish failed that check although the attestation was fine).
Changed Tests: the session-integration test no longer hands out the same host port twice in one run, which made it fail intermittently.
Security GHSA-mvmf-74pf-qv75: a refresh token redeemed concurrently could leave a valid refresh token behind after reuse was detected. Affects 0.1.0 – 0.11.0.

v0.11.0

November 2026
Before you upgrade Redirect URIs are now matched exactly (RFC 9700, OAuth 2.1). A redirect_uri or post_logout_redirect_uri must equal a registered value character for character: no trailing-slash, case, path or query-string differences, and never a fragment. The one exception is a loopback IP redirect URI of a native app (http://127.0.0.1/..., http://[::1]/...), which now matches on any port (RFC 8252). Exact entries already matched exactly, so clients registered with exact URIs are not affected.
Before you upgrade *Clients registered with / wildcards keep working, and are now flagged.* The migration turns on a new per-client setting, allowInsecureWildcardRedirectUris, for every client that has a redirect URI or post-logout redirect URI ending in /, so their sign-in does not break. That setting is insecure: any page below the wildcard can receive authorization codes. After upgrading, call GET /admin/upgrade/health: the wildcard_redirect_uris warning names each such client (realm/clientId). For each, register the exact callback URLs the application sends and turn the setting off (the console shows a warning with the switch on the client page; or PUT /admin/realms/{realm}/clients/{clientId} with the exact redirectUris and "allowInsecureWildcardRedirectUris": false). To find them before upgrading: SELECT r.name, c.client_id FROM clients c JOIN realms r ON r.id = c.realm_id WHERE EXISTS (SELECT 1 FROM unnest(c.redirect_uris || c.post_logout_redirect_uris) u WHERE u LIKE '%/*'); — exact URIs can be added on 0.10 already, and work on both versions.
Before you upgrade New wildcards are refused. Creating or updating a client with a / entry (admin API, console, setup wizard, realm import with the setting explicitly false) returns 400 unless allowInsecureWildcardRedirectUris is set on it, and turning the setting off while a wildcard is still registered is refused. A redirect URI containing # is refused. Keycloak imports, and realm exports from before 0.11.0, give a client with / entries the setting and list it as an import warning.
Before you upgrade Applications that relied on loose matching (a trailing slash, an added query string, a different case) get Invalid redirect_uri at /authorize. Register the exact URI they send.
Before you upgrade Forward-auth return URLs (allowedRedirectUris of proxy applications) are not affected: they keep /* prefix matching.
Before you upgrade Disabling a user now ends their sessions. Re-enabling them no longer brings old refresh or offline tokens back; their apps must sign them in again.
Before you upgrade Offline sessions get their full lifetime. Offline sessions still alive at the upgrade are extended to offlineTokenLifespan from their sign-in (see Fixed); no action is needed. Sessions also now end exactly at their expiry instead of at the next hourly clean-up, so a normal session can end up to an hour sooner than before.
Before you upgrade SAML service providers with a certificate registered must sign every AuthnRequest with RSA-SHA256 or RSA-SHA512. Requests signed with SHA-1 (rsa-sha1, or a sha1 digest) are refused, and there is no per-SP exception. Unsigned requests from such an SP were already refused. Over HTTP-Redirect the signature must now be in the query string (SigAlg and Signature), as the bindings specification requires: a request that carries an XML signature inside the redirected message is refused (see Fixed).
Before you upgrade Every AuthnRequest must carry an IssueInstant no more than 5 minutes old (with 3 minutes of clock skew either way) and an ID that is a valid xs:ID (it starts with a letter or _). Requests without them, or older, are refused, whatever the SP's signing settings. SAML_REQUEST_MAX_AGE_SECONDS and SAML_CLOCK_SKEW_SECONDS change the window. Keep the clocks in sync with NTP.
Before you upgrade An AuthnRequest is accepted once. A browser that resends an old request (back button, a bookmarked SSO URL) now gets 400 AuthnRequest has already been used; the SP has to start a new sign-in. An SP that sends the same ID every time must be fixed.
Before you upgrade A Destination on the AuthnRequest must be this realm's SSO endpoint ({BASE_URL}/realms/{realm}/protocol/saml). A request without one is still accepted.
Before you upgrade AuthnRequests with a DTD, comments, processing instructions, CDATA, duplicate ID attributes, or children the schema does not allow or that are out of schema order, are refused. In particular an enveloped <ds:Signature> must come right after <saml:Issuer>, as the schema requires, not as the last child. Mainstream SP libraries already do this; check hand-built integrations.
Before you upgrade An HTTP-Redirect AuthnRequest must not carry an XML signature inside the message, for every SP, with or without a certificate. The bindings specification requires it to be removed; sign the query string instead.
Before you upgrade The migration adds the table saml_request_ids. Nothing else to do.
Before you upgrade Authorization policies that cannot be evaluated now fail closed (see Security). A stored policy with an unknown operator (a typo such as equal or contain), a value its operator cannot use (an invalid CIDR or regular expression, in or notIn without an array, a non-numeric bound, an array for equals), or an unknown effect or logic: as a DENY it now denies every request it applies to, as an ALLOW it never allows, and an unknown effect counts as DENY. Before, such a condition was simply false. After upgrading, GET /admin/upgrade/health lists each one in the invalid_authorization_policies warning (realm/policy (EFFECT): path: problem), and each evaluation logs a warning naming it; fix or delete them. To find candidates before upgrading: SELECT r.name, p.name, p.effect, c FROM policies p JOIN realms r ON r.id = p.realm_id, jsonb_array_elements(coalesce(p.subject_conditions,'[]') || coalesce(p.resource_conditions,'[]') || coalesce(p.action_conditions,'[]') || coalesce(p.environment_conditions,'[]')) c WHERE NOT (coalesce(c->>'operator', '') = ANY (ARRAY['equals','notEquals','contains','in','notIn','greaterThan','lessThan','matches','ipInRange'])); (this finds unknown operators; the health check also checks the values).
Before you upgrade Creating or updating a policy with such a condition is refused with 400, which names the condition (subjectConditions[1]: unknown operator "contain" ...). A realm import with one is refused too, with its path.
Before you upgrade Client-scoped policies apply only to evaluations for their client. An evaluation without clientId now gets the global policies only; before, it got every policy of the realm, client-scoped ones included. If your application calls POST /admin/realms/{realm}/policies/evaluate without clientId and relies on a client-scoped policy, ALLOW or DENY, pass the clientId, or make the policy global.
Before you upgrade ipInRange matches IPv6 and IPv4-mapped addresses. An IPv4 range now also matches ::ffff:a.b.c.d, the form a dual-stack server reports for an IPv4 client, and IPv6 ranges work. A DENY on an IPv4 range can therefore start matching requests it missed before. An environment.ip that is present but is not an IP address makes an ipInRange condition fail closed.
Before you upgrade Users imported from Keycloak before 0.11.0 may have no password. The old importer did not read the credential format of Keycloak 7 and later (secretData / credentialData) and stored those users without a password hash, and importing again skips usernames that already exist. After upgrading, delete those users and import the export again, or have them reset their password. To list candidates (this also lists users who only ever sign in through a social or enterprise identity provider): SELECT r.name, u.username FROM users u JOIN realms r ON r.id = u.realm_id WHERE u.password_hash IS NULL AND u.federation_link IS NULL ORDER BY 1, 2;. Users imported from the legacy format need nothing: their old hashes now verify, SHA-512 ones included.
Before you upgrade Migrated users' password hashes are upgraded on sign-in. A user imported from Keycloak, Auth0 or Authentik whose hash is bcrypt, PBKDF2 or Argon2 with weaker parameters gets an Argon2id hash on the first successful sign-in. A database restored from before the upgrade still verifies both.
Before you upgrade Admins who already have an authenticator app on their master realm account will be asked for it at console sign-in. The console's second factor is the master account's own TOTP, passkeys and recovery codes. SMS codes are not accepted for the console; an admin whose only second factor is SMS signs in with the password as before, and should set up an authenticator app or a passkey.
Before you upgrade Scripts that sign in with an admin's username and password (POST /admin/auth/login) get {"mfa_required": true, "mfa_token": …, "methods": […]} and no access_token once that admin has a second factor. Finish with POST /admin/auth/login/mfa ({"mfa_token", "method": "totp" | "recovery", "code"}), or use the admin API key for automation. idenplane login and idenplane init in the CLI ask for the code.
Before you upgrade Nothing is required on upgrade. The migration adds the table admin_security_policy and writes no row. The new "Require a second factor for every admin" setting is off for an existing install and on for a new one (not under DEMO_MODE). To turn it on: have each admin set up a factor under Two-factor in the console header, then turn it on under Admin accounts, or set ADMIN_MFA_REQUIRED=true. An admin without a factor is never locked out: they can sign in, but only to set one up. GET /admin/upgrade/health warns while it is off and names the admins without a factor.
Before you upgrade New installs created by automation: a fresh database now requires a second factor for every admin, so a password-only admin token reaches only enrolment (403 with code: "admin_mfa_enrolment_required"). Use the admin API key, enrol a factor, or set ADMIN_MFA_REQUIRED=false for a throwaway test instance.
Before you upgrade The console's passkeys use the host of BASE_URL as their relying party (or the master realm's WebAuthn RP ID). If the console is reached on another host name, set ADMIN_WEBAUTHN_RP_ID and ADMIN_WEBAUTHN_ORIGINS.
Before you upgrade Recovery codes issued before 0.11.0 keep working. After the first start, their stored hashes are replaced in the background (Argon2id); with many users this costs some CPU for a while. New codes have a new format (xxxxxx-xxxxxx-xxxxxx-xxxxxx).
Before you upgrade SDKs (released separately from the server; they work with this and earlier servers):
Security matches policy conditions can no longer stall the server (ReDoS). The pattern, written by an administrator, ran against request values with JavaScript's backtracking engine. Patterns are now limited to 256 characters with no backreferences and no repeated group that itself repeats or alternates (such as (a+)+), and values over 2,048 characters are not tested (the condition fails closed). Stored patterns outside these rules fail closed and are listed by /admin/upgrade/health.
Security Authorization policies failed open. An operator in a policy condition was never validated, and a condition the engine could not evaluate (an unknown operator, an invalid CIDR or regex, in without an array) was evaluated as "does not match". A DENY policy with a typo in an operator therefore never denied, silently, and an IPv4 ipInRange DENY never matched a client reported as ::ffff:a.b.c.d. Now conditions are validated when a policy is saved (400) and on realm import, and at evaluation a policy that cannot be evaluated fails closed: a DENY matches, an ALLOW does not, an unknown effect is a DENY, and the server logs a warning. ipInRange uses net.BlockList: IPv4, IPv6, CIDR blocks and single addresses, with IPv4-mapped IPv6 addresses matching their IPv4 network. Client-scoped policies no longer apply to evaluations that do not name their client. The upgrade health check lists policies that cannot be evaluated. See Before you upgrade.
Security Angular SDK: the HTTP interceptor sent the user's access token to every origin (idenplane-angular 1.0.1 to 1.0.2). AuthInterceptor and authInterceptor added Authorization: Bearer <access token> to every request the app made, so third-party APIs, CDNs and analytics endpoints received a token that could be replayed against the user's APIs until it expired; a 401 from any of them also triggered a token refresh. From idenplane-angular 2.0.0 the token goes only to the Idenplane server and to the origins listed in bearerTokenOrigins, matched exactly by scheme, host and port (look-alike hosts, another port or scheme, and URL tricks such as https://[email protected] never match), and only those origins' 401 responses trigger a refresh.
Security JavaScript SDK: verifyToken accepted ID tokens and tokens issued to other clients (idenplane-sdk 1.0.1 to 1.2.0, idenplane-nextjs withAuth/withAuthHandler 1.0.1 to 1.0.2). It checked the signature and the issuer only. The realm signs ID tokens, logout tokens and admin tokens with the same key as access tokens, and issues access tokens to every client of the realm, so an API protected with verifyToken (or the Express middleware, NestJS guard and Next.js helpers built on it) accepted an ID token — which travels in logout URLs as id_token_hint — or an access token minted for a different application, as a valid access token (RFC 8725 §3.11, ASVS 5.0 V9.2.2). From idenplane-sdk 2.0.0 it requires typ: "Bearer" and a configured audience, requires exp, sub, iss and aud, and accepts asymmetric algorithms only.
Security Redirect URIs are matched exactly (ASVS 5.0 V10.4.1, RFC 9700 §2.1 and §4.1.3). A registered redirect URI ending in / matched any path below it, so any page there, an open redirect or user-controlled content included, could receive authorization codes. Now a redirect_uri (at /authorize, at the broker and for magic-link callbacks) and a post_logout_redirect_uri must equal a registered value, without normalisation, and a fragment is always refused. Loopback IP redirect URIs match on any port (RFC 8252 §7.3); localhost does not get this. The old wildcard behaviour is kept only for clients with the new, per-client allowInsecureWildcardRedirectUris, documented as insecure, and even then a match must stay on the registered origin and below the registered path (no .., . or encoded /, ., \). Why a flag rather than removing wildcards outright: removing them would break sign-in for every application registered that way at the moment of the upgrade, with no way to upgrade first and fix the clients after; rejecting them silently would be worse. The flag keeps the insecure behaviour only where it already was, under a name that says what it is, and the upgrade health check and the console make each such client visible until it is fixed. See Security → Secure defaults*.
Security Disabling a user in the admin API or console now signs them out everywhere, as SCIM deactivation already did: every session ends and the refresh tokens, offline tokens included, are revoked. Before, the tokens were only refused while the user was disabled, and worked again once the user was re-enabled.
Security AuthnRequest signatures are no longer open to XML signature wrapping. The IdP verified the first signature it found in the document, then read the AuthnRequest's fields from the document root, without checking that the signature covered that root. A signed request from a registered SP could be rewrapped so that the IdP verified the original and acted on altered fields (ACS URL, request ID, NameID policy). Over HTTP-POST, the request must now have exactly one signature, a direct child of the AuthnRequest, with exactly one reference, to the AuthnRequest's ID; after verification, every field is read from the bytes the signature covers. Over HTTP-Redirect, the signature is verified over the query string exactly as received (SAMLRequest, RelayState, SigAlg), and RelayState is taken from those bytes. Only RSA-SHA256/512 with SHA-256/512 digests is accepted, and the certificate in a request's KeyInfo is never used.
Security AuthnRequests can no longer be replayed. Request IDs were not tracked and IssueInstant was not checked, so a captured request could be sent again at any time. Each accepted request ID is now recorded per service provider in PostgreSQL, under a unique index shared by every replica and WEB_CONCURRENCY worker, until the request is too old to pass the IssueInstant check; a second use is refused. IssueInstant must be recent, and Destination, when present, must be this endpoint. Expired records are deleted every 5 minutes by the elected leader.
Security Admin console sign-in asks for a second factor (OWASP ASVS V6.3.3, the top gap in the 0.10.0 assessment). Admins can set up an authenticator app (TOTP, with replay protection) and passkeys for their console account; once they have one, sign-in asks for it after the password. Wrong codes count towards the master realm's lockout, each sign-in allows five answers, and the second step is a one-time handle of its own (the hosted login pages cannot use it). Admin tokens now record amr, acr and auth_time.
Security MFA can be required for every admin, server-wide (admin_security_policy, or ADMIN_MFA_REQUIRED). It is on for new installs. An admin without a factor while it is required reaches only enrolment; a password-only session of an admin who has a factor (for example one from before the upgrade) reaches only step-up. Both are decided on every request, from the database.
Security Sensitive admin actions need a recent second factor (step-up): removing a factor, new recovery codes, resetting another admin's MFA, turning the requirement off, and — now usable from the console — resetting an end user's MFA and unlocking a user. These used to look for a step-up on a hosted-login session the console could never send. POST /admin/auth/step-up issues a fresh token.
Security Recovery codes are 120-bit (ASVS V6.5.2), for admins and end users, stored as SHA-256. They were 32-bit and stored as an unsalted SHA-256, which a copy of the database gave away in seconds. Codes issued before 0.11.0 keep working; their hashes are rewrapped in Argon2id at start-up.
Security Admin MFA changes are always audited: every enrolment, removal, new set of recovery codes, reset and change of the requirement is an admin event in the master realm (resourceType: ADMIN_MFA), recorded even when admin events are off there, and logged.
Added SAML_REQUEST_MAX_AGE_SECONDS (default 300) and SAML_CLOCK_SKEW_SECONDS (default 180) set the AuthnRequest validity window.
Added Admin console: a Two-factor page (/console/mfa) to set up an authenticator app (QR code and manual key) and passkeys, see and regenerate recovery codes (shown once, with copy and download), and remove factors; a second step on the sign-in page (code, recovery code or passkey); a step-up prompt for sensitive actions; and, on Admin accounts, each admin's factors, a Reset MFA action and the Require a second factor for every admin switch.
Added Admin API: POST /admin/auth/login/mfa, /login/passkey/options, /login/passkey; POST /admin/auth/step-up (and /step-up/passkey/options, /step-up/passkey); GET /admin/auth/mfa, POST|DELETE /admin/auth/mfa/totp, POST /admin/auth/mfa/totp/activate, POST /admin/auth/mfa/passkeys/options, POST /admin/auth/mfa/passkeys, DELETE /admin/auth/mfa/passkeys/{id}, POST /admin/auth/mfa/recovery-codes; GET|PUT /admin/admin-mfa/policy; DELETE /admin/admin-accounts/{userId}/mfa. GET /admin/auth/me gains mfa, and GET /admin/admin-accounts each admin's mfa.
Added Break-glass: the admin API key can reset an admin's MFA (DELETE /admin/admin-accounts/{userId}/mfa), always recorded. It still cannot reset an end user's MFA. See Security → Admin console MFA.
Added Environment variables: ADMIN_MFA_REQUIRED, ADMIN_WEBAUTHN_RP_ID, ADMIN_WEBAUTHN_ORIGINS.
Added GET /admin/upgrade/health: admin_mfa and recovery_codes warnings.
Added Docs: Security → Admin console MFA; the ASVS assessment (V6.3.3, V6.3.4 and V6.5.2 now pass) and the threat model are updated.
Fix Users migrated from Keycloak could not sign in. The hosted login page checked every stored hash with Argon2 before trying the migrated format; Argon2 throws on a Keycloak PBKDF2 hash (27500$...), so the fallback never ran and the page showed the library's error text (pchstr must contain a $ as first char). The password grant and the device login page checked Argon2 only. Now one password check serves the login page, custom flows, the password grant, the device login page and the expired-password page. It reads the stored format: Argon2, bcrypt ($2a$, $2b$, $2y$), and PBKDF2 with SHA-1, SHA-256 or SHA-512 and the iteration count stored with the hash, comparing in constant time. A malformed hash is a wrong password (counted by brute-force protection), never an error. On a successful sign-in a migrated hash is replaced with Argon2id. The login page now shows only messages meant for the user; an internal error is logged and the page says "Sign-in failed. Please try again."
Fix The Keycloak importer recorded the wrong password algorithm. It ignored credential.algorithm, did not read the current Keycloak credential format (secretData and credentialData, Keycloak 7 and later), and labelled every credential pbkdf2-sha256, so SHA-512 and SHA-1 credentials could never verify. It now reads both formats and records pbkdf2-sha1, pbkdf2-sha256, pbkdf2-sha512, argon2 (Keycloak 24+, rebuilt as a PHC string) and bcrypt (keycloak-bcrypt). Users imported before 0.11.0 from an export in the legacy credential format keep their password: a PBKDF2 row labelled pbkdf2-sha256 is checked against SHA-256, SHA-512 and SHA-1. Users imported before 0.11.0 from a Keycloak 7+ export (secretData/credentialData) were stored without a password and still have none; see Before you upgrade. The Auth0 importer now also takes custom_password_hash with argon2 and pbkdf2 (PHC strings), and the Authentik importer Django's pbkdf2_sha1. A hash no importer can carry over is never stored under a wrong label: the user is imported without a password and the migration report has a warning naming them.
Fix Imports over 100 KB were refused with 413. The JSON body parser kept body-parser's 100 KB default everywhere, while the migration API documented 10 MB. The import endpoints (POST /admin/realms/import and POST /admin/migration/{keycloak,auth0,zitadel,authentik}) now accept 10 MB; every other endpoint keeps 100 KB.
Fix Next.js SDK: nothing set the access-token cookie its server helpers read. createAuthMiddleware, getServerAuth and getServerUser read idenplane_access_token, which no part of the SDK, docs or quickstart ever set, so the documented middleware and Server Component setup never saw a signed-in user. idenplane-nextjs 2.0.0 adds createSessionCookieHandlers (idenplane-nextjs/session), which verifies the token and sets it as an HttpOnly; Secure; SameSite=Lax cookie that expires with it, refusing cross-site requests, and syncSessionCookie(client), which keeps the cookie current across sign-in, refresh and sign-out. getServerAuth and getServerUser verify the token instead of only decoding it.
Fix Vue SDK: the router guard could not share the plugin's client, and AuthProvider never initialised its client (idenplane-vue 1.1.0). The plugin accepts an existing client ({ client }), so a guard defined in router/index.ts uses the same one; without an explicit client the guard looks it up when it runs (Vue 3.3+, vue-router 4.2+). A guard without a client redirected every route, the login route included, to the login route, which looped forever; now only protected routes fail closed. AuthProvider calls init() and accepts a client prop.
Fix Go SDK: IsRetryable returned true for context.Canceled and for requests ended by the caller's context deadline. It now returns false for those; an http.Client timeout with a live context is still retryable.
Fix SDK API docs named packages that do not exist (@idenplane/angular, @idenplane/vue, @idenplane/nextjs, @idenplane/js). They now use the published names: idenplane-angular, idenplane-vue, idenplane-nextjs, idenplane-sdk.
Fix Offline tokens stopped working after about an hour instead of after the offline lifespan. A session created with offline_access was given the normal session expiry (refreshTokenLifespan, 30 minutes by default), and the hourly clean-up deleted it, and its offline tokens with it, 30 to 90 minutes after sign-in. An offline session now lives for the realm's offlineTokenLifespan (30 days by default), counted from sign-in; normal sessions are unchanged. A rotated refresh token never outlives its session, and the refresh grant and token introspection check the session's expiry themselves instead of relying on the clean-up. Offline tokens are still ended by sign-out, a password reset, disabling or deleting the user, SCIM deactivation and the admin "sign out all sessions", and refresh token rotation and reuse detection apply to them as before. Existing data: offline sessions still alive at the upgrade (those with an offline refresh token that is neither revoked nor expired) are extended to offlineTokenLifespan from their sign-in, the lifetime they were issued for; offline sessions the clean-up already deleted cannot be restored, so those users sign in again once. Revoked and expired sessions are not touched.
Fix The realms API docs listed offlineSessionIdleTimeout, a setting that does not exist. The setting is offlineTokenLifespan.
Fix HTTP-Redirect AuthnRequests compressed with raw DEFLATE are decoded. The bindings specification requires raw DEFLATE (RFC 1951), which is what SP libraries send, but the IdP only inflated zlib-wrapped data and then failed to parse the request. Zlib-wrapped and uncompressed requests are still accepted.
Fix Signed HTTP-Redirect AuthnRequests work. The query-string signature (SigAlg and Signature) was ignored, so a standard signed Redirect request from an SP with a certificate was refused as unsigned; only a non-standard XML signature inside the redirected message was checked.
Changed express is now a declared dependency (5.3.0, the version @nestjs/platform-express pins). The body-parser setup imports it, but it was only installed through NestJS.
Changed :latest now moves only with a release. It used to be rebuilt from every push to main, so it had a different digest from the release tag and was signed with the main identity. It is now the same image as the newest vX.Y.Z tag, verifiable with the release identity. Pushes to main still publish :main-<sha>.
Changed Docs: corrected statements that did not match the code (SAML IdP-only, OIDC-only brokering, /admin/metrics, NestJS 12 on Node 24, importer password hashes and SAML connections, SDK install notes, API reference and configuration options).
Added GHSA-mj58-5w9f-r482 (medium): SAML AuthnRequest signature verified without confirming it covered the fields used (XML signature wrapping).
Added GHSA-4v2q-qv4r-hxpf (low): SAML AuthnRequest replay.
Added GHSA-rp8v-7xp9-hwmx (medium): authorization policies failed open.
Added GHSA-rpqw-hh5h-hrfp (high): verifyToken accepted ID tokens and other clients' tokens.
Added GHSA-3w88-52pc-3hqq (medium): the Angular interceptor sent the access token to every origin.

v0.10.1

November 2026
Removed The unused GraphQL admin module (src/graphql) and its packages @apollo/server, @nestjs/apollo, @nestjs/graphql and graphql. The module was never imported by the application, so no GraphQL endpoint was ever served, although the README listed a "GraphQL API". Removing it also removes a high-severity advisory in @graphql-tools/utils (GHSA-c4qx-w738-7hr3) that @apollo/server pinned to a vulnerable range; it was not reachable. Nothing changes for running servers.
Removed @node-saml/node-saml dependency. Nothing in Idenplane imported it. The SAML 2.0 IdP builds and verifies its XML with xml-crypto, @xmldom/xmldom and fast-xml-parser, and there is no SAML service-provider or SAML-brokering code that would use it. Removing it also drops xml-encryption, xml2js, xmlbuilder, sax and two old xpath copies from the install. This replaces the 5.1.0 → 5.2.0 Dependabot bump (#1859); 5.2.0's new SP-side checks have nothing in Idenplane to apply to.
Changed ws is now a declared dependency. The session-events WebSocket (/ws/events) imports it, but it was only installed because the GraphQL packages depended on it.
Changed Dependencies updated (none closes a known vulnerability): NestJS packages @nestjs/schedule 12.0.4, @nestjs/swagger 12.1.2, @nestjs/cli 12.0.13; fast-xml-parser 5.12.1; admin console jsdom 31.0.1; Next.js example idenplane-sdk 1.2.0 and jose 6.2.17.
Changed @xmldom/xmldom is now a declared dependency (^0.8.15, the same copy xml-crypto uses). The SAML IdP imports it directly, but until now it was only installed because other packages depended on it.
Changed Release workflow: the publish job's verification step no longer fails after a successful signature check (a head pipe under pipefail), and Dependabot no longer proposes Node major versions for the Docker images; a Node major is bumped deliberately with CI.

v0.10.0

November 2026
Before you upgrade Existing realms keep their settings. Brute-force protection and event recording are on only for realms created after the upgrade (through the admin API or console, an import file that doesn't set them, the setup wizard, or the master realm of a fresh install). The migration changes only the column defaults; it updates no row. To find realms that still have brute-force protection off, call GET /admin/upgrade/health: the brute_force_protection check is a warning that names them. The console's realm Security settings also show a warning while it is off.
Before you upgrade To turn it on for an existing realm: tick Enable brute force protection in the realm's Security settings, or PATCH /admin/realms/{realm} with {"bruteForceEnabled": true, "maxLoginFailures": 10, "failureResetTime": 900, "lockoutDuration": 300, "permanentLockoutAfter": 0}. For audit events, {"eventsEnabled": true, "adminEventsEnabled": true}. See Security → Secure defaults.
Before you upgrade The master realm of a new install locks an admin account for 5 minutes after 10 failed sign-ins in 15 minutes. Existing installs keep their master realm setting. If you turn it on for master, keep permanentLockoutAfter at 0, so nobody can lock the admins out for good, and keep a second super-admin or the ADMIN_API_KEY for an emergency: PUT /admin/realms/master/users/{userId}/reset-password with the API key sets a new password and clears the lock (the unlock route needs an MFA step-up, so it refuses the key).
Before you upgrade Scripts that send an ID token to /userinfo, to token introspection or to the session-events WebSocket now get 401 (introspection: {"active": false}). Send the access token.
Before you upgrade A password reset now signs the user out everywhere and revokes their refresh tokens. Apps holding a refresh token for that user must sign the user in again.
Before you upgrade Custom login or account templates with their own <style> block must add nonce="{{scriptNonce}}" to it, or the browser ignores the styles. The built-in themes already do. See Custom themes.
Before you upgrade If you provision users with SCIM: users created by SCIM before 0.10.0 may have their externalId stored in federationLink, which makes them look LDAP-federated at sign-in. Clear federationLink on users that do not come from an LDAP federation. SCIM deactivation (active: false), as sent by Entra ID and Okta, now really disables the user and ends their sessions.
Before you upgrade Admin API clients that send malformed input now get 400, 404 or 409 where some endpoints answered 500.
Security Brute-force protection is on by default for new realms. It was off unless an admin turned it on, so a new realm put no limit on online password guessing. The defaults are tuned against a lockout denial of service: 10 failures within 15 minutes lock the account for 5 minutes; the failures stay counted for the window, so a wrong password right after the lock locks it again (progressive lockout); there is no permanent lockout, which would let anyone disable an account by guessing. The trade-off is documented in Security → Secure defaults and in src/realms/realm-security-defaults.ts, the one place the creation paths take the defaults from.
Security A locked LDAP user can no longer be used to test passwords. In the password grant, a federation-linked user's password was checked against LDAP before the lockout, so a locked account answered "invalid credentials" for a wrong password and "locked" for the right one. Every path now refuses a locked account before any credential check, with the same answer whatever the password. Failed LDAP binds in the password grant now count towards the lockout.
Security userinfo, token introspection and the session-events WebSocket accept only access tokens (ASVS 5.0 V9.2.2). They accepted any JWT the realm signs, so an ID token, a back-channel logout token or, in the master realm, an admin token was treated as an access token.
Security A password reset ends every session of the user and revokes their refresh tokens (ASVS 5.0 V7.4.3), so whoever knew the old password is signed out.
Security Disabled users no longer get tokens from an approved device code or an authorization code issued before they were disabled. Device approval also refuses disabled users, with the same answer as for unknown ones.
Security Lockout emails escape the username and realm name. Usernames from SCIM, LDAP or an external IdP have no character rules, and the lockout email put them into HTML as is.
Security A compressed SAMLRequest is no longer inflated without a limit. Inflation now stops at the 256 KB request limit instead of expanding the whole request before the size check.
Security Back-channel logout and audit-stream deliveries no longer follow redirects, so a logout token or audit record goes only to the configured URL.
Security /health/ready no longer returns the database driver's error text. The endpoint is public, and the message could name database hosts and users. It is logged instead.
Security Every temporary lockout is logged at warn level, not only permanent ones.
Security Simultaneous failed sign-ins are all counted. Failures were counted in a serializable transaction, which PostgreSQL aborts under a burst of concurrent guesses; after the retries ran out a failure could go uncounted. The transaction now locks the user's row first, so concurrent failures for one user queue instead of aborting.
Security A user deactivated or deleted through SCIM is signed out everywhere. Their sessions end and their refresh tokens are revoked, and their access tokens stop passing introspection and userinfo. Before, Entra ID's deactivation was ignored entirely (see Fixed), and even a working deactivation left sessions open. Re-activating the user does not bring the old tokens back.
Security SCIM filters can no longer read arbitrary user columns. Any attribute name went straight into the database query, so a SCIM token could filter on passwordHash (testing hash prefixes) or override realmId to list another realm's users. Only the documented attributes are filterable now; anything else is a 400 invalidFilter.
Security SCIM no longer writes externalId into federationLink, the LDAP federation link, which made SCIM users look LDAP-federated at sign-in. Users provisioned before this release keep the old value; clear federationLink on users that are not from an LDAP federation.
Security Passwords sent over SCIM are left out of the admin audit event.
Security Malformed requests no longer crash endpoints. An OWASP ZAP scan of the API made about 30 endpoints answer 500. The causes:
Security Hosted pages: stricter CSP for styles. A <style> element must now carry the page's nonce, so injected markup cannot add a stylesheet (CSS can read form values through attribute selectors). style attributes are still allowed. Custom templates with their own <style> block must add nonce="{{scriptNonce}}" to it. The built-in themes already do. Pages that load a CAPTCHA keep the previous rule.
Security New response headers.
Security Dependencies with known advisories (none in the server's runtime dependencies):
Added Threat model (Security → Threat model, docs/docs/security/threat-model.md): assets, trust boundaries, data flows, STRIDE threats per boundary with the mitigation in the code and the residual risk, and a cryptographic inventory.
Added OWASP ASVS 5.0 Level 2 self-assessment (Security → OWASP ASVS Assessment): all 253 Level 1 and 2 requirements with status, evidence and recommendation, also as CSV (docs/static/security/asvs-5.0-l2-assessment.csv). Result: 111 pass, 91 partial, 22 fail, 29 not applicable. The remaining gaps are listed in priority order.
Added /admin/upgrade/health reports realms with brute-force protection off (a warning, never a failure).
Added The admin console warns when a realm's brute-force protection is off, and when permanent lockout is set.
Added Signed images with SBOMs and provenance. Every image docker-publish.yml pushes carries BuildKit SBOM and SLSA provenance attestations, a keyless cosign signature and a signed SPDX SBOM attestation. Each GitHub release gets the SBOM, the image digests and signed checksums attached. A workflow_dispatch dry run does all of this against a throwaway registry. How to verify: Verifying Releases.
Added Scheduled checks:
Added Landing site version. On every release, a PR to the landing site updates the version it shows (landing-version.yml; needs the LANDING_REPO_TOKEN secret).
Changed New-realm defaults (column defaults and every creation path; existing realms unchanged):
Changed Importing a Keycloak realm keeps bruteForceProtected: false when the export says so, and otherwise turns protection on with Idenplane's defaults (failureFactor still sets maxLoginFailures).
Changed Docs: the brute-force, session and event settings in Configuration options and API → Realms described Keycloak fields that Idenplane doesn't have (bruteForceProtected, failureFactor, waitIncrementSeconds, ssoSessionIdleTimeout…). They now list the real fields and defaults. The Terraform provider's descriptions of lockout_duration and failure_reset_time said minutes; they are seconds.
Changed Migration 20261116120000_secure_realm_defaults changes the defaults of six realms columns. It updates no row.
Changed The Docker image ships the PostgreSQL 16, 17 and 18 clients, and the built-in upgrade picks the pg_dump and pg_restore matching the server's major version (PG_BIN_DIR overrides it). The image had only the 16 client, so on the Helm chart's bundled PostgreSQL 17 the upgrade's pre-validation always failed with a client/server mismatch. See Deployment → Upgrading.
Changed Admin API responses no longer carry Link: </api/v1/admin/...>; rel="successor-version". No admin route is served under /api/v1, so the link pointed at a 404. The Deprecation and Sunset headers are unchanged.
Changed Every GitHub Action is pinned to a commit SHA, with Dependabot keeping the pins current. sync-dev-to-main.yml grants contents: write only to its job. The WSL dev-setup job adds the NodeSource repository directly instead of piping a script into bash.
Changed The two e2e suites that use the real pg_dump/pg_restore fail instead of skipping when CI sets REQUIRE_PG_TOOLS and the tools are missing.
Changed Pinned build inputs (OpenSSF Scorecard Pinned-Dependencies):
Changed Gradle wrapper validation. The Android SDK and android-quickstart CI jobs and the Android publish workflow check both gradle-wrapper.jar files against Gradle's published checksums before running them.
Changed Property-based tests with fast-check for the SCIM filter parser, redirect URI matching and HTML escaping (*.property.spec.ts, part of the normal Jest run).
Fix API reference: openapi.yaml gave the licence as Apache 2.0 (it is AGPL-3.0), a contact address that doesn't exist and a /api/v1 server URL; it now points to SUPPORT.md and http://localhost:3000.
Fix README: the comparison table's idle memory now comes from the published benchmark instead of unsourced figures.
Fix SCIM request bodies sent as application/scim+json (Entra ID, Okta, OneLogin) are parsed. Only application/json was, so every SCIM create, replace and patch from a real client failed.
Fix SCIM PATCH and Bulk read Operations, the name RFC 7644 uses (lowercase operations still works), and PATCH op names are case-insensitive. Real clients' PATCH and Bulk requests were ignored or failed.
Fix SCIM user PATCH honours path. Simple and sub-attributes (active, userName, name.givenName…), emails[type eq "work"].value, no-path objects with dotted or nested keys, and remove all work, and "True"/"False" strings are read as booleans. Entra ID's {"op":"Replace","path":"active","value":"False"} did nothing before. Attributes with no column (displayName, title, enterprise extension…) are accepted and ignored instead of failing the request with a 500; unknown paths are a 400 invalidPath. A PATCH applies in full or not at all. Guides → SCIM lists the supported paths.
Fix SCIM group PATCH adds, removes and replaces members in the forms Entra ID and Okta send (members[value eq "<id>"] with double quotes, and remove with a value list), and renames the group.
Fix SCIM create honours "active": false and refuses a missing userName with a 400.
Fix SCIM responses use the 2.0 URNs (urn:ietf:params:scim:...:2.0:...) instead of SCIM 1.0 ones, errors use the RFC 7644 error body with scimType (for example 409 uniqueness for a duplicate userName), meta.location is an absolute URL that includes the realm, and responses are sent as application/scim+json.
Fix A SCIM filter that can't be parsed is a 400 invalidFilter, not an empty list that a client reads as "no such user". Compound and/or filters, which were misread, are refused the same way.
Fix SCIM Bulk answers with Operations and each operation's own status and SCIM error, honours failOnErrors, and refuses PUT, PATCH or DELETE without an id.
Fix SCIM discovery (ServiceProviderConfig, Schemas, ResourceTypes) is also served under the realm base URL clients are configured with, and /Schemas and /ResourceTypes return a ListResponse. ServiceProviderConfig no longer claims ETag support.
Security GHSA-gcvm-65hf-985v (medium): a SCIM token for one realm could filter on internal columns, listing other realms' users and probing password hashes. Affects 0.3.0 – 0.9.1; fixed in this release.

v0.9.1

November 2026
Changed all open GitHub Code Quality findings are resolved, which uncovered two real bugs: idenplane upgrade could restore the backup after a successful migration, and the Next.js example's session restore crashed on a read error;
Changed dependencies are updated, including NestJS 12.5 and @peculiar/x509 3.
Changed Dependencies updated. None of these updates closes a known vulnerability: there were no open Dependabot alerts.
Fix Next.js quickstart session restore no longer crashes on a read error. scripts/session-maintenance.mjs restore piped pg_restore's output into psql with .pipe(), which ignores errors on the source stream. A read error escaped as an unhandled 'error' event and killed the process instead of reporting a failed restore. The restore now uses stream/promises pipeline. On any stream error it stops pg_restore, never commits the transaction, and fails with the usual "transaction was not committed" message. The underlying error is kept as its cause.
Fix idenplane upgrade no longer restores the backup after a successful migration. The CLI wrapped prisma migrate deploy and the post-upgrade health report in one try. Its catch is the "migration failed" path, which restores the pre-upgrade backup. So any error while checking or printing health after the migrations were applied would have restored the old backup over the upgraded database. Only a failed prisma migrate deploy now triggers the restore. A later failure reports that the migrations were applied, attempts no rollback, and exits with code 1.

v0.9.0

November 2026
Changed view-only admins can only read;
Changed realm-admins manage only the realms a super-admin assigns them, on the new Admin Accounts page;
Changed server-wide operations are for super-admins only;
Changed the admin console shows each admin only what their role may do.
Before you upgrade Assign realms to your realm-admins. A realm-admin now manages only the realms a super-admin assigns to it. After the upgrade, existing realm-admins have no realms, so they can sign in but can't read or change any realm. Assign their realms right after upgrading: Console → Admin Accounts, or PUT /admin/admin-accounts/{userId}/realms with {"realms": [...]}. The master realm can't be assigned. Use super-admin for an admin who should manage every realm.
Before you upgrade view-only admins lose change access. Until now they could create, change and delete most things in every realm. They keep read access to every realm, except server-wide pages (plugins, upgrade, system version, metrics) and realm export, which are now super-admin only.
Before you upgrade Scripts that use the admin JWT of a non-super-admin may now get 403. Give the account the right role or realm assignment. The admin API key is unchanged and keeps full access.
Security Admin roles are enforced on every admin route (GHSA-424c-q96v-g3q7). Since 0.8.1 every admin route has required admin credentials, but most had no role check. A view-only admin could create, change and delete clients, roles, groups, organizations, NHI identities and more, and any admin could approve registrations. A global authorization step now runs right after authentication, on exactly the routes authentication covers, so new routes are covered by default:
Security Realm-admins are scoped to assigned realms. A new admin_realm_assignments table stores them. A super-admin manages it through /admin/admin-accounts and the console's Admin Accounts page. A database trigger and the API both refuse the master realm, which would let a realm-admin grant itself super-admin. Assignments survive a realm rename and an overwriting realm import. They are never exported.
Security Ids in a realm route must belong to that realm. With realm scope, /admin/realms/A/... must never reach another realm's data. Some routes checked only the realm in the path and then used the child id alone, so an admin could act on another realm's data through a realm it was allowed to manage. They now check the child id too, and answer 404 for an id from another realm:
Security Clearing login events or NHI audit logs is super-admin only, so a realm-admin can't erase the audit trail of the realm it changes.
Security Realm-admins can manage users, and view-only admins can read them. The users and theme routes required a role named admin, which doesn't exist, so they were super-admin only in practice. Deleting a user or a theme stays super-admin only.
Fix GET /admin/auth/me always answered 401, because it was marked public and so never authenticated. It now returns the admin's roles and realm scope: { userId, username, kind, roles, superAdmin, readAllRealms, writeAllRealms, managedRealms }.
Changed The admin console reads the signed-in admin's role and scope:

v0.8.1

November 2026
Before you upgrade The setup wizard now needs an admin login. Every /setup-wizard/* endpoint takes the Admin API credentials (an admin JWT or x-admin-api-key) and the super-admin role. Scripts that called it anonymously get 401. The console page moved to /console/setup and asks you to sign in first. Once setup is completed or skipped, every wizard write answers 409.
Before you upgrade ADMIN_PASSWORD no longer defaults to admin. This only matters for a first start on an empty database. Outside production, an unset value now gets a random password that the first start prints once in its log, and admin or a documented placeholder stops the start unless ALLOW_INSECURE_ADMIN_PASSWORD=true. Existing admins and passwords are not changed.
Security The setup wizard was reachable without authentication (GHSA-2463-97f9-hw7j, reported by EQSTLab). The /setup-wizard/* endpoints sat outside /admin, so no guard applied to them, and the service never checked whether setup was already done. Anyone who could reach an instance could read the wizard state, use the SMTP test, skip or reset the wizard, and complete it to create a new realm with a super-admin user of their choosing. Now:
Security Admin actions could be reached without credentials (GHSA-cxj4-xh78-x373; affects 0.1.0 to 0.8.0). AdminApiKeyGuard only enforced admin credentials when the request path began with /admin, compared case-sensitively. Two kinds of admin actions were open as a result:
Security No more admin / admin bootstrap credentials (GHSA-jfx3-gv42-6qwv, reported by EQSTLab). 0.7.0 refused a weak ADMIN_PASSWORD in production, but any other NODE_ENV (including npm run start:prod, which sets none) still created the first admin as admin / admin when ADMIN_PASSWORD was unset. Now the first admin never gets a known password: unset outside production, a random 32-character password is generated and printed once, only by the instance whose seed was stored (a configured password is never logged); admin, password, changeme, change_this_password and .env.example's REPLACE_ME_WITH_A_STRONG_PASSWORD are refused everywhere unless ALLOW_INSECURE_ADMIN_PASSWORD=true outside production. Production's rules are unchanged, and also refuse the .env.example placeholder. GET /admin/auth/demo-info no longer falls back to admin either. The E2E suite sets explicit test credentials. The docs no longer mention a default password.

v0.8.0

November 2026
Before you upgrade Stop the old version before 0.8.0 starts, and back up first. On its first start 0.8.0 encrypts stored secrets that older versions can't read: identity-provider client secrets, LDAP bind passwords, audit-stream headers, SSO secrets, token signing keys and TOTP seeds. Old and new versions must not run side by side.
Before you upgrade PostgreSQL 16 or later is the only supported database. MySQL and SQLite never ran, and the docs no longer list them.
Before you upgrade CAPTCHA is enforced when a realm turns it on. Registration then needs a valid token from the realm's provider, and a realm with CAPTCHA on but no site key or secret refuses registrations (503). The captchaProvider query parameter is ignored.
Before you upgrade Hosted pages can't be shown in an iframe (frame-ancestors 'none'). Applications that embed the login or registration page must use a redirect or a popup.
Before you upgrade Confidential clients must authenticate at the device authorization endpoint (…/protocol/openid-connect/auth/device), as they already do at the token endpoint. An unknown or disabled client gets 401 invalid_client instead of 404.
Before you upgrade Realm exports use format version: 2. Version 1 files still import. Older servers can't import version 2 files.
Before you upgrade Migrations run on start. They add the tables and columns for flow bindings, client certificates, certificate-bound tokens, NHI certificate credentials, the encryption key check and maintenance tasks. They also rename organization_invitations.token to token_hash. A background task then masks secrets in older admin events.
Added The certificate listener serves the session events WebSocket. MTLS_LISTEN_PORT now upgrades /ws/events (that exact path; any other upgrade is 404), so a client holding a certificate-bound access token can open the WebSocket over mutual TLS without a TLS-terminating proxy. The gateway reads the peer certificate from the TLS socket, as the HTTP endpoints on the listener do, and refuses a bound token over another certificate or none with 401. The main port and the listener share one WebSocket server, and attaching a server twice registers one handler. On shutdown open sockets get a 1001 close frame and the listener ends any upgraded socket left, so an open WebSocket no longer keeps the process from stopping. See mTLS Client Authentication.
Added Email-code, sign-in-link and social steps for custom auth flows. A bound flow can now use three more step types; the validator accepts them and the runtime runs them, all behind AUTH_FLOW_RUNTIME_ENABLED as before. email_otp (a second factor) emails a code to the identified user's verified address: only a keyed hash is stored, bound to the login transaction, each guess is counted before a constant-time comparison, a code works once and expires within the transaction, and sends and guesses are limited per transaction and per user. magic_link (identifying) emails a sign-in link that works only in the browser that asked for it, while that login is in progress; opened anywhere else (another browser, a mail scanner) it shows an error and changes nothing. It reuses the magic-link table, limits and email template, answers the same for unknown addresses, and the standalone /magic-link/verify never accepts it. social (identifying) signs in at a realm identity provider named by providerAlias, which must exist and be enabled; the provider's callback finishes the step only in the transaction and browser that started it, once, and the client's state and PKCE are kept. After identification a social step never creates an account and refuses another user's. A flow sign-in's acr is computed from the kinds of step passed: a second factor of a different kind than the identifying step makes MFA, so a link plus an emailed code (one mailbox), or a password plus a social sign-in, stays at the password level. amr is otp for an emailed code and a sign-in link, and empty for a social sign-in. New hosted pages email-otp and magic-link in both built-in themes. See Custom Auth Flows → Email, link and social steps. No migration.
Added ENFORCE_ACR_ON_FRESH_LOGIN, off by default. With true, a fresh sign-in honours what the authorization request asks of acr. /auth relays the claims parameter, and the built-in login forms carry acr_values and claims (custom themes should add these two hidden fields, as login.hbs does). An acr requested as an Essential Claim is then mandatory, like a client's requiredAcr: the user answers their second factor or enrols one, and a level the sign-in cannot reach (a passkey level on a password sign-in, or only unknown values) ends with unmet_authentication_requirements instead of a code at a weaker level. SSO with prompt=none answers interaction_required when the session is weaker, and a bound flow treats the essential acr as mandatory too. acr_values stays voluntary.
Added Groundwork for client certificates (RFC 8705 mTLS), off by default. New MTLS_ settings (see Environment Variables) add an optional HTTPS listener and support for a certificate forwarded by a TLS-terminating proxy. The listener asks each client for a certificate and serves only the OAuth endpoints a client needs. The proxy header counts only from addresses in MTLS_TRUSTED_PROXY_CIDRS, which refuses `, 0.0.0.0/0 and ::/0. From any other peer the header is rejected with 400 invalid_request, or stripped when MTLS_PROXY_UNTRUSTED_HEADER_ACTION=strip`. Invalid settings stop the server at startup.
Added OAuth client authentication with TLS client certificates (RFC 8705), off by default. A client can authenticate at the token, introspection and revocation endpoints with tls_client_auth (a certificate from one of the realm's CAs that matches the client's one subject DN or SAN rule) or self_signed_tls_client_auth (a certificate registered for the client). It works only with MTLS_ENABLED=true and the realm's new mtlsClientAuthEnabled; otherwise such a client gets 401 invalid_client. Clients gain tokenEndpointAuthMethod (an explicit client_secret_basic or client_secret_post now accepts only that method; unset keeps today's behaviour) and the tlsClientAuth rules. New admin endpoints manage a client's certificates (…/clients/:clientId/tls-certificates), a realm's trust anchors (…/tls-trust-anchors) and its deny-list (…/tls-revoked-certificates). Certificate paths are validated in the application: CA flag, keyCertSign, path length, MTLS_MAX_CHAIN_DEPTH, clientAuth usage, and refusal of nameConstraints and unknown critical extensions. MTLS_AUTH_FAILURE_LIMIT_PER_MINUTE failures per certificate answer 429 slow_down. Discovery lists the two methods and mtls_endpoint_aliases (from MTLS_BASE_URL) only for realms that turn them on. See the new mTLS Client Authentication* guide. A migration adds two realm flags and seven client columns, all defaulting to off or empty, and three tables: client_tls_certificates, realm_tls_trust_anchors and tls_revoked_certificates.
Added Certificate-bound access tokens (RFC 8705 §3), off by default. A client with the new tlsClientCertificateBoundAccessTokens setting gets access tokens carrying cnf: {"x5t#S256": …}, the thumbprint of the certificate it presented at the token endpoint, with any grant and any authentication method. Without a certificate its token request is 401 invalid_client. cnf is set after protocol mappers and plugins, which cannot change or remove it. A confidential client's refreshed token is bound to the certificate presented at the refresh; a public client's refresh token is bound too, and refreshing it with another certificate is 400 invalid_grant. Introspection returns cnf. Userinfo, the session events WebSocket and admin bearer authentication accept a bound token only with its certificate (from the certificate listener or a trusted proxy), otherwise 401 invalid_token with a WWW-Authenticate: Bearer challenge. Discovery advertises tls_client_certificate_bound_access_tokens: true for realms with certificate authentication on. Clients without the setting are unchanged. The JavaScript SDK's verifyToken takes { certificate } (DER) or { certificateThumbprint } and rejects a bound token without a matching certificate; computeX5tS256 is exported. A migration adds refresh_tokens.cnf_x5t_s256.
Added Explicit auth-flow bindings. A realm can bind a browser flow (browserFlowId) and each client can override it, through GET/PUT /admin/realms/{realm}/auth-flows/bindings or the new Flow bindings panel on the admin console's Auth Flows page. A per-realm switch (authFlowsEnabled, off by default) and the server flag AUTH_FLOW_RUNTIME_ENABLED gate them. They take effect at login with the flow runtime (below); the console notes when the server runs without it. POST …/auth-flows/{id}/validate checks a stored flow, and flows now carry a version that increments on every update. A migration adds realms.browser_flow_id, realms.auth_flows_enabled and authentication_flows.version. isDefault is deprecated and never used for binding.
Added NHI identities authenticate with their own certificates (RFC 8705), off by default. A device or workload gets an OAuth client with POST /admin/realms/{realm}/nhi/{id}/oauth-client (GET and DELETE too): confidential, client_credentials only, no secret and no service account, always issuing certificate-bound tokens. It authenticates at the realm's token endpoint with self_signed_tls_client_auth or tls_client_auth against the identity's certificate credentials. Credentials gain tlsAuthMode (SELF_SIGNED pins a certificate by x5t#S256; PKI names one subject or SAN rule for certificates from the realm's trust anchors) and a computed status (active, grace, revoked, expired, not_yet_valid, disabled, identity_inactive); only active and grace authenticate. Rotating a certificate credential keeps the old one working for an overlap (overlapSeconds, else the policy's new rotationOverlapSeconds, default 24 hours), in one transaction, with at most 10 live certificates per identity. Their tokens name the credential that accepted the certificate (private claims nhi_cid, and nhi_crt with a PKI certificate's issuer and serial, protected from mappers and plugins). Introspection skips the user lookup and checks that exact credential: revoking it, or the end of its rotation grace period, ends its tokens at once, as does a deny-list entry by thumbprint or by issuer and serial. Each certificate authentication updates the credential's lastUsedAt and requestCount and writes an NHI audit entry (ACCESS_GRANTED or ACCESS_DENIED), without delaying the response. It needs MTLS_ENABLED and the realm's mtlsClientAuthEnabled, and the identity must be ACTIVE. See Devices and workloads in the mTLS guide. A migration adds clients.nhi_identity_id, nhi_credential_policies.rotation_overlap_seconds and, on nhi_credentials, realm_id (backfilled from the identity), tls_auth_mode, cert_thumbprint_s256 (backfilled from stored PEMs), certificate metadata, PKI rule columns, superseded_by_id and rotation_grace_until. Database triggers keep a client and its identity, and a credential and its identity, in the same realm.
Added Encryption key rotation. WEBHOOK_SECRET_KEY and WEBHOOK_ENCRYPTION_SALT can now be changed without losing the stored secrets. Set the new values, and the old ones as WEBHOOK_SECRET_KEY_PREVIOUS and WEBHOOK_ENCRYPTION_SALT_PREVIOUS (either one defaults to the current value). The previous key only decrypts; everything is encrypted with the current key.
Added Custom auth flows now run at login, off by default. With AUTH_FLOW_RUNTIME_ENABLED=true, a realm's authFlowsEnabled switch on and a flow bound to the realm or the client, the hosted login runs that flow's password, ldap, totp and webauthn steps through the existing login, second-factor and passkey endpoints, so themes keep working. Each login is a server-side transaction (pending_actions rows of type authn_txn, cookie IDENPLANE_AUTHN_TXN). It lasts 10 minutes and pins the flow's id and version; a changed flow restarts the login. A restart goes back through /auth with the original request, so the binding, single sign-on and prompt apply again. It is the only source of the OAuth request (form fields are ignored) and is claimed once at the end. The cookie value changes once the user is identified. Fallbacks run only when a step fails, never after a lockout or an error, and a step after identification cannot switch user. The session's acr/amr come only from the steps passed, and a bound login is never weaker than the built-in one for the same user and client: a missing second factor or passkey step is added, or the user enrols in MFA. A missing or invalid binding shows a 503 page and never falls back. Where a login is bound, the built-in sign-in paths cannot create a session: a social (identity-provider) sign-in is refused with a themed 403 page before any second factor is asked for. An SSO session serves a bound client only if it meets what the flow requires of that user, with the flow's conditions evaluated for them (a condition on risk.level counts as holding); otherwise the user signs in again (interaction_required with prompt=none). The built-in themes hide the password form on a passkey step without a password fallback (passkeyOnly). See Custom Auth Flows → Running Flows at Login. No migration.
Security Request logs no longer record secrets carried in URLs. The access log wrote each request's full URL, including the organization invitation token in …/invitations/{token}/accept and query values such as token, code, client_secret and SAMLResponse. These are now written as [REDACTED]. The URL is scanned as plain text, so a hostile URL can't slow the logger.
Security Organization invitation tokens are stored only as a hash, and no longer leave the server after creation. Since 0.2.0 the token column held a SHA-256 of the token, but GET …/organizations/{slug}/invitations returned that hash, and 0.1.0 rows still held raw tokens. The column is now token_hash. The list no longer returns it. The create call still returns the raw token, once, for the invitation link. The token of POST …/invitations/{token}/accept is replaced by [REDACTED] in the admin event path. Accepting now claims the invitation with a compare-and-set, so two concurrent accepts of one token cannot both succeed, and an empty or over-long token is refused without a lookup. Migration: the column and its unique index are renamed, keeping the stored hashes, so pending invitations stay valid. Rows created before 2026-03-27 (0.1.0, raw tokens, all long expired since invitations last 72 hours) get their token replaced by its SHA-256 in SQL.
Security Secrets recorded by older admin events are removed. The admin event trail (admin_events.representation) kept request bodies with only some fields redacted, so rows written by earlier versions can hold, in plaintext:
Security Two admin API responses leaked sensitive data. The setup wizard's endpoints returned the first administrator's password hash (adminPasswordHash). GET /admin/realms/{realm}/user-federation/{id} returned the whole realm record with the federation, including its settings and encrypted secrets. Both responses now leave these out.
Security A realm's CAPTCHA setting is now enforced on self-registration. Before, captchaEnabled was not enforced anywhere. POST /realms/{realm}/registration/register verified a token only when the caller added ?captchaProvider= and sent captchaToken, so a bot skipped the check by leaving out either one; with no RECAPTCHA_SECRET_KEY or HCAPTCHA_SECRET_KEY set, verification passed; and the hosted registration form had no CAPTCHA at all. Now both entry points run one server-side check (CaptchaService.verifyForRealm) before anything is looked up or created. The provider and keys come only from the realm, and the realm's encrypted secret is used, with the environment variable as a fallback only when the realm has none. The check fails closed. A missing token is 400 CAPTCHA required. A refused token, a reCAPTCHA v3 token with another action than register or a score under captchaScoreThreshold, or a reCAPTCHA response without a score (a v2 key) is 400 CAPTCHA verification failed. An incomplete realm configuration, or a provider that is unreachable or slower than 5 seconds, is 503. The user's IP is sent as remoteip, and for hCaptcha the realm's site key as sitekey. Provider error codes are logged, no longer returned. The hosted form also requires the hostname of BASE_URL (the API does not, since its callers host the widget on their own domains). The built-in idenplane and midnight register pages render the hCaptcha checkbox or run reCAPTCHA v3 on submit, and that page's CSP admits exactly the provider's origins, only while CAPTCHA is on. See the new Self-Registration and CAPTCHA guide. Before you upgrade: a realm with captchaEnabled: true but no provider, site key or secret now refuses every self-registration with 503; complete or turn off its CAPTCHA settings. API clients of such a realm must send captchaToken (reCAPTCHA v3 with the action register). The captchaProvider query parameter and RECAPTCHA_SCORE_THRESHOLD are no longer read. Custom register.hbs templates must render the widget from the new captcha value, as the built-in ones do. No migration.
Security Hosted pages can no longer be framed. The login, registration, consent, account and device pages send their own Content-Security-Policy, which replaced helmet's and so dropped its frame-ancestors, object-src and base-uri, leaving them open to clickjacking. Their policy now includes frame-ancestors 'none', object-src 'none', base-uri 'self' and script-src-attr 'none'. form-action stays off on these pages: browsers apply it to the redirect after a form POST, which would block the login's redirect to the client's redirect_uri. Before you upgrade: an app that shows the hosted pages in an iframe must open them in a top-level window or popup instead.
Security The realm API no longer returns CAPTCHA secret keys. recaptchaSecretKey and hcaptchaSecretKey came back as their stored ciphertext; they now come back as the hidden-value placeholder ••••••, like the SMTP password, and sending the placeholder back on create or update keeps the stored key. A value typed after the placeholder is 400.
Security The device authorization endpoint authenticates confidential clients (RFC 8628 §3.1). POST …/protocol/openid-connect/auth/device accepted any client_id without its credentials, so anyone who knew a confidential client's id could start device flows as that client. It now authenticates clients exactly as the token endpoint does: secret in the body, HTTP Basic, or a client certificate. A public client still sends only its client_id. Before you upgrade: confidential device clients must send their credentials to this endpoint, as they already do at the token endpoint. An unknown or disabled client now gets 401 invalid_client instead of 404.
Security Realm export and import no longer drop security settings. The export copied only a hand-picked subset of fields, and the import created the realm from that subset. A realm moved this way silently lost its sign-in protection: email verification, WebAuthn and SMS MFA, OTP settings, adaptive authentication and risk thresholds, the session limit, rate limits, CAPTCHA, registration restrictions, impersonation limits, mTLS client authentication, auth flows and their bindings, and each client's step-up, token endpoint authentication, tlsClientAuth* rules and certificate-bound tokens. Group role mappings, service-account roles, TLS trust anchors, the certificate deny-list and client certificates were lost too. The export (format version: 2) now carries every realm and client setting and the other configuration tables. An allow-list next to the code, checked against prisma/schema.prisma by a test, makes every new column either exported or explicitly excluded with a reason. A failed import used to leave a half-created realm, and overwrite deleted the old realm before the new one was known to be valid. The import now runs in one transaction, so a failure leaves nothing behind and keeps the old realm. Before you upgrade: realms you already moved with an export file kept their defaults for the missing settings. Check them, or export and import them again after upgrading.
Security The SAML request cookie no longer carries the request. IDENPLANE_SAML_REQUEST held the AuthnRequest, ACS URL included, as unsigned base64 JSON. The request now waits server-side for 10 minutes and the cookie is an opaque token.
Security An SSO session answers a SAML request only if it may serve the realm. Where the realm is bound to a custom flow, the session must be as strong as the flow requires of its user, as for an OAuth client; a misconfigured binding serves no one.
Security Federated sign-in refuses an identity provider's answer without a subject, which would have linked every such answer to the same account, and refuses a callback for a provider disabled after the redirect.
Security Secrets that were stored in plaintext are now encrypted at rest, with the key from WEBHOOK_SECRET_KEY and WEBHOOK_ENCRYPTION_SALT that already encrypted the realm SMTP, CAPTCHA, email/SMS provider and webhook secrets. Newly encrypted: identity provider client secrets (OIDC and social), LDAP federation bind credentials, audit log stream HTTP header values, the secret-named keys of organization SSO connection configs (clientSecret, password, privateKey, …Token, apiKey…), realm signing keys, TOTP seeds and the setup wizard's SMTP password (which was also copied into the realm unencrypted). Each is decrypted only where it is used: the broker's token request, the LDAP bind, audit stream delivery, token and SAML signing, and TOTP checks. The admin API returns these secrets as ••••••, as it does the realm secrets, and •••••• sent back on an update keeps the stored value; the identity provider and LDAP API responses used to return the secret itself. The admin event trail no longer records LDAP bind credentials, audit stream headers or SSO connection secrets. Realm exports with includeSecrets carry them decrypted and the import encrypts them with its own key, as for the other encrypted secrets. A new encryption_key_check table lets every start prove the key is the one the secrets use: with another key, Idenplane refuses to start instead of reading ciphertext as plaintext or encrypting it again. Decryption now requires the full 128-bit GCM tag. See Production → Encryption at rest. Before you upgrade: back up WEBHOOK_SECRET_KEY and WEBHOOK_ENCRYPTION_SALT with the database; from this version they protect signing keys and TOTP seeds too, and can only be changed by rotating them (see Added). The first start of this version encrypts the existing plaintext values in place. Several replicas or workers of this version may start at once (the work runs under a database lock and is done once), but do not run the previous version beside it: an older process cannot read what this version encrypts, so its token signing, TOTP checks, LDAP binds and broker sign-ins would fail. Stop the old version first (scale to zero, or a Recreate deployment strategy) instead of a rolling update. Going back to the previous version after the first start needs the pre-upgrade database backup (the upgrade rollback restores it). In production the start refuses to run without a configured key. If the first start reports that stored secrets which look encrypted do not decrypt, restore the previous key; set STORED_SECRETS_ACCEPT_KEY=true for one start only if you know the key is right. npm run backfill:encrypt-realm-secrets is no longer needed.
Changed A password posted on a passwordless flow step no longer ends the sign-in. On a bound flow's passkey or social step without a password fallback, a custom theme that ignores passkeyOnly and passwordFormHidden still shows its password form, and submitting it ended the login transaction with "This sign-in step was not expected". Now the password is not checked, nothing about the transaction changes and no failure is counted, and the user is sent back to the same step with "This step signs in with a passkey. Use your passkey to continue." (or the identity-provider equivalent). Every other submission for the wrong step still ends the transaction.
Changed Custom themes are checked for the password-form flags. When the server loads the themes, a theme whose own login.hbs reads neither passkeyOnly nor passwordFormHidden (the template is parsed, comments don't count) is logged with a warning, and GET /admin/realms/themes returns it in each theme's new warnings list, shown on the realm's Theme tab in the admin console. A theme that inherits its parent's login.hbs gets the parent's result. Warnings never stop a theme from loading. See the new Custom Themes guide, which documents the login template context.
Changed The midnight theme's registration page shows the terms-of-service checkbox and custom attributes. Without them a realm with a terms URL, or a required registration attribute, could never register under that theme. It now matches the idenplane theme, including the approval notice.
Changed The admin console's sign-up link opens the hosted sign-up page. The new public console route /console/register/{realm} sends the browser to the realm's hosted, themed page (/realms/{realm}/register), keeping the query string (so client_id, redirect_uri and the other OAuth parameters reach the page). The hosted page is now the only sign-up implementation, with one CAPTCHA and Content-Security-Policy story: it renders the realm's provider, admits that provider's origins on that page only, and handles terms and custom attributes. The console's unrouted PublicRegistrationPage and CaptchaWidget are removed: they read the realm through the admin-only API and ran under the console's script-src 'self' policy, which blocks the provider's script. Registration Settings shows the link while self-registration is on.
Changed Realm CAPTCHA settings are validated. Creating or updating a realm with captchaEnabled: true is now 400 without a captchaProvider of recaptcha or hcaptcha, without that provider's site key, or without its secret key (in the realm or RECAPTCHA_SECRET_KEY / HCAPTCHA_SECRET_KEY). Any other captchaProvider value is 400 too. An update is checked only when it changes a CAPTCHA field, against the stored values for the fields it leaves out, so other edits to an older realm still go through.
Changed Auth-flow validation accepts email_otp, magic_link and social. Only consent is still refused with unsupported_type. A social step needs providerAlias (config_missing_key), naming an enabled identity provider of the realm (provider_not_found). The provider is checked again at every login, so deleting or disabling it makes the binding fail closed with the 503 page. email_otp takes otpLength (6 or 8) and expirySeconds (60–600), magic_link takes expirySeconds. The admin console's step palette no longer marks these steps coming, offers Magic Link, and its email-code length choices match the server (6 or 8).
Changed Passkey sign-in finishes like a password sign-in. It now goes through the same completion (LoginFlowService.finishLogin) and the same risk gate: a blocked sign-in gets no session, and a risk step-up is met by the passkey itself. "Remember me" applies to it, and the login page's passkey script sends prompt (and, with ENFORCE_ACR_ON_FRESH_LOGIN, acr_values and claims) from the form.
Changed On a bound login, the login page shows only the identity providers of the current step, and hides the password form for a social step without a password fallback (passwordFormHidden; passkeyOnly is unchanged).
Changed Stricter auth-flow validation. Creating or updating a flow now returns 400 with every problem as errors: [{path, code, message}]. A flow must have 1–20 steps and use only password, ldap, totp or webauthn steps; social, email_otp, magic_link and consent are refused until the runtime supports them. Its first step must identify the user, be required and have no condition. Fallbacks must be acyclic, must not leave steps unreachable, and identifying steps may only fall back to identifying steps. Conditions may read only whitelisted fields, and each step's config is checked per type. Existing flows are not changed; use …/validate to check them. The admin console now starts new flows with a password step, because an empty flow is no longer valid.
Changed Deleting a bound auth flow is refused. DELETE …/auth-flows/{id} returns 409 with the realm and client bindings while the flow is bound. Before, deleting it silently unbound clients; the database reference is now ON DELETE NO ACTION instead of SET NULL. PUT …/assign-client/{clientId} now binds the flow in the path, returns 400 if the body names another flow or the flow fails validation, and returns 404 for a flow or client outside the realm. Clearing an assignment moved to DELETE on the same path.
Changed One client authentication for the token, introspection and revocation endpoints. These endpoints had separate copies of the same checks and now share one. Responses are unchanged except on introspection and revocation. There, HTTP Basic sent together with client_secret, or with a client_id naming another client, is now 400 invalid_request, as on the token endpoint. A malformed Basic header there is now 401 invalid_client; before, it was ignored. HTTP Basic now also works there when the body repeats the same client_id; before, a body client_id made the endpoints ignore the Basic credentials.
Changed Internal refactor of the sign-in code, no behaviour change. The password sign-in's risk, email-verification and password-expiry checks (PrimaryAuthGatesService), the second-factor check (SecondFactorVerifier), what follows a completed sign-in (PostAuthService) and SSO session creation (SessionIssuer) are now separate services. SessionIssuer is the only code that creates an SSO session; a lint rule enforces it. New end-to-end tests pin the password, TOTP, recovery-code, SMS and passkey sign-ins, consent, the account gates, risk, single sign-on and prompt handling.
Changed SessionIssuer checks the flow binding. It refuses a session from the built-in sign-in paths where the binding resolver says a login is bound to a flow (or misconfigured), and accepts a flow session only for a finalised transaction of the flow and version bound at that moment. The built-in first-factor continuation (LoginFlowService.continueAfterPrimaryAuth, used by federated sign-in) runs the same check first. Nothing changes while AUTH_FLOW_RUNTIME_ENABLED is unset or the realm's authFlowsEnabled is off.
Changed Certificate credentials of NHI identities hold a certificate only. Creating a CERTIFICATE or MTLS credential with privateKeyPem, or with a key inside certificatePem, is now 400; the device keeps its private key. certificatePem must be exactly one valid certificate. API keys and other credential types are unchanged.
Changed Rotating an NHI API key that was already rotated is 409. It collided on the replacement's name and answered 500; rotate the replacement instead.
Changed Every NHI query is scoped by realm. Credential, identity and policy reads and writes now name the realm, not only the row id, and the rotation scheduler skips credentials already rotated.
Changed Realm export format version: 2. GET /admin/realms/{realm}/export returns every realm and client setting. It also returns authentication flows and their bindings (by name), group role mappings, client service accounts with their roles, TLS trust anchors, the deny-list, client certificates, SAML service providers, LDAP federation, custom attributes, registration fields, organizations, webhooks, audit log streams, ABAC and continuous-risk policies, consent categories, theme builder themes, SCIM mappings, service accounts, NHI credential policies and proxy applications. References use natural keys (flow name, clientId, scope name, role name + clientId, group name, username). Clients of NHI identities are left out and listed under omitted. Signing keys, user credentials, sessions, tokens and event logs are never exported. With includeSecrets, values encrypted at rest (SMTP password, CAPTCHA secret keys, email and SMS provider credentials, webhook secrets) are exported decrypted. The importing server encrypts them with its own key, so the two servers' WEBHOOK_SECRET_KEY need not match. Without secrets, the import disables identity providers, LDAP federations, SSO connections and webhooks that need one, and lists warnings. POST /admin/realms/import validates a version 2 file completely before writing: types, enums, unknown keys, unresolved references, duplicate names, client authentication rules, certificates, and the auth-flow validator on every flow. It answers 400 with errors: [{path, message}]. Version 1 files (1, "1", "1.0") import with the same mapping as before, now in one transaction; other versions are 400. An import now also invalidates the replaced realm's cache and the CORS origin cache. Before you upgrade: scripts that read export files must handle version: 2; scope assignments moved from the top-level clientScopeAssignments into each client's defaultScopes and optionalScopes. Run …/auth-flows/{id}/validate on older flows before exporting, because a version 2 import refuses invalid flows. Realm names must be lowercase slugs.
Removed MySQL and SQLite are no longer listed as supported. Idenplane runs on PostgreSQL 16 or later only. The server already worked only on PostgreSQL: it uses the PostgreSQL driver, PostgreSQL triggers, row locks and LISTEN/NOTIFY, and the MySQL and SQLite schema variants had fallen behind, so they could not run. Removed: prisma/schema.mysql.prisma, prisma/schema.sqlite.prisma, scripts/use-mysql.sh, scripts/use-sqlite.sh, the unused src/database provider layer and the mysql2 dependency. The docs, README, .env.example and the dev compose file now say PostgreSQL only. The CLI's rollback restore now also accepts postgres:// URLs.
Removed NhiCertificateGuard, MtlsGuard and CertificateValidator. They protected no route; devices authenticate at the token endpoint with their certificates instead (see above).
Removed FlowExecutorService. The unused executor (any step could be submitted, unsupported steps passed automatically, passkey results were taken from the caller, errors led to fallbacks and the TOTP rate limit was skipped) is replaced by the flow runtime. AuthFlowService.executeStep and getNextStep, used only by it, are gone too. The auth-flow admin API is unchanged.
Fix Invitations created in the admin console can be used. The console threw away the one-time token the create call returns, so the invitation could never be accepted. The console now shows the token once, with a copy button, its expiry, and the endpoint your application calls to accept it. The button reads Create invitation, because Idenplane does not email invitations.
Fix A custom theme that sets only some colours no longer breaks its pages. A theme without every colour in theme.json made every hosted page answer 500. Colours missing from a theme now come from its parent chain, then the defaults.
Fix The master realm can no longer be deleted, disabled or replaced by an import. Every administrator signs in through it, so deleting, disabling or overwriting it locked them all out of the console and the admin API. All three now return 400.
Fix Federated sign-ins no longer claim a password. The token endpoint turned an empty amr into ["pwd"], so a sign-in through an identity provider was reported as a password sign-in. Such tokens now carry no amr claim, because the provider's methods are not known. acr is unchanged.
Fix SAML responses name the ACS URL they are posted to. Recipient and Destination always named the service provider's default ACS URL, even when the request used another of its allowed URLs, so a strict service provider rejected the response.
Fix The magic-link email no longer states a fixed lifetime. The default theme had two contradictory sets of magic-link texts ("15 minutes" and "5 minutes"), and the lifetime is configurable anyway.
Fix The admin console offers only NHI credential types that authenticate. It offered JWT Bearer, which the server refuses, and could not display the server's JWT, OAUTH and MTLS types.
Fix An expired password no longer loses the sign-in. After a sign-in was sent to change an expired password, the user landed on a bare login page and the application never got a code. The OAuth request (and "remember me") now waits server-side, keyed by the change token, never in the URL, and the sign-in continues after the change: the second factor or its enrolment, consent, then the code, at the level the password proved. Where the login is bound to a custom flow it starts again through /auth with the same request. A risk step-up still comes after the password-expiry and email-verification checks; tests now cover both.
Fix A SAML sign-in that had to sign in first is answered. An SP-initiated request without an SSO session went to the login page and was never answered: every sign-in without an OAuth client ended on the account page. Every sign-in (password, second factor, MFA enrolment, passkey, a custom flow) now continues to /realms/{realm}/protocol/saml/resume, which checks the service provider and its ACS URL again and answers the request once.
Fix A null boolean in the client admin API is 400, not 500. enabled, requireConsent, backchannelLogoutSessionRequired, publicClient and tlsClientCertificateBoundAccessTokens sent as null on create, PUT or PATCH reached the database and failed with 500. Nullable fields such as tokenEndpointAuthMethod, requiredAcr and the tlsClientAuth* rules still accept null.
Fix POST …/mfa/sms authenticates the client like the token endpoint. It ignored HTTP Basic and the client certificate, so a client using Basic or tls_client_auth/self_signed_tls_client_auth could not request an SMS code. The certificate listener now also serves this endpoint.
Fix Creating a user accepts emailVerified. POST /admin/realms/{realm}/users refused the field with 400, so a verified user took a second request. It is optional and defaults to false.
Fix The profile scope now includes updated_at. It was listed in the scope's claims but never sent. ID tokens and userinfo now carry it, in seconds since the epoch (OIDC Core §5.1), and discovery lists it in claims_supported.
Fix Theme changes are recorded as admin events (resource type THEME). Creating, updating, publishing, restoring and deleting a theme left no trace in the admin events.
Fix The API reference reports the real server version, not 0.1.0. The docs now explain that each server serves its full reference at /api (Swagger UI) and /api-json, replacing a link to a page that did not exist.
Fix auth_time no longer moves to the moment of consent. After a fresh sign-in followed by the consent screen, the ID token's auth_time was the time the user clicked Allow. It is now the time they signed in, so max_age checks are exact.
Fix Passkeys without a signature counter can sign in. Most synced passkeys always report a counter of 0, which was rejected as a rollback; a counter of 0 is now accepted while it stays 0 (WebAuthn §6.1.1).
Fix Passkey sign-in follows the password sign-in. It validates the authorization request before creating a session, records a LOGIN event, honours prompt=consent and the client's required level through the same decision code, keeps all OAuth parameters, and checks email verification before counting the use of the passkey.
Fix "Remember me" survives the second factor. It was dropped when the user had TOTP or SMS enrolled.
Fix A wrong MFA code no longer reads "Too many failed attempts" when brute-force protection is off (the default). Successful MFA is now recorded as an MFA_VERIFY event, and a rate-limited SMS attempt stays on the SMS form.
Fix A client that requires a passkey refuses a risky password sign-in directly instead of first sending the user through TOTP.

v0.7.0

November 2026
Before you upgrade First production start needs ADMIN_PASSWORD. With NODE_ENV=production (the Docker image default), creating the initial admin now fails when ADMIN_PASSWORD is missing, admin, a documented placeholder, or shorter than 12 characters. Existing databases already have their admin and are not affected.
Before you upgrade Root docker-compose.yml no longer has a built-in database password. It reads POSTGRES_PASSWORD from .env. For an existing volume created with the old file, add POSTGRES_PASSWORD=idenplane to .env (changing the value does not rotate the password inside an existing volume). Ports 3000 and 5432 now listen on localhost only.
Before you upgrade Helm: the chart now creates a <release>-idenplane-keys Secret with ADMIN_API_KEY, ADMIN_PASSWORD, WEBHOOK_SECRET_KEY and WEBHOOK_ENCRYPTION_SALT. Values you set under secrets: win; empty ones are generated on first install and kept on upgrades. Rendering fails on the old placeholders (change-me-in-production, REPLACE_WITH_STRONG_SECRET, the production values' database password), so pass real values or leave the keys empty.
Before you upgrade Helm with Argo CD, Flux or helm template: these cannot read a stored Secret back, so generated keys would change on every render. Create the four keys yourself and set secrets.existingSecret.
Before you upgrade Helm chart 0.3.0 drops the Bitnami PostgreSQL and Redis sub-charts. Their docker.io/bitnami images are no longer published, so the bundled database could not start. The chart now runs the official postgres (17, Debian) and redis images and reuses the existing PostgreSQL volume and password. Before upgrading, take a pg_dump, then delete the old StatefulSets with --cascade=orphan (see Upgrading from chart 0.2.x in the Kubernetes guide). The bundled database and Redis passwords are now generated when empty.
Before you upgrade Migrations: two run on start. They add auth_time and session_id to authorization codes and auth_time to sessions; all are nullable.
Before you upgrade A client's requiredAcr now applies to a fresh sign-in too, not only to SSO. A client that requires MFA sends a password-only user through TOTP enrolment (or their existing second factor) before it gets a code; a client that requires a passkey gets access_denied for a password sign-in. Check clients that set requiredAcr.
Before you upgrade The SSO cookie is SameSite=Lax (was Strict), so applications on other sites see the session on the authorization and logout redirects. Custom themes should add <input type="hidden" name="prompt" value="{{prompt}}"> to login.hbs and register.hbs for prompt=consent to survive the form; without it nothing breaks, consent just isn't forced.
Added Production checklist in the deployment docs: public HTTPS, secrets, a verified TLS connection to the database, and off-host backups with a restore check.
Added Next.js example: server-side sessions and a protected API. The quickstart can keep tokens on the server in PostgreSQL behind an HTTP-only cookie, with refresh, sign-out, encrypted backup/restore and scheduled cleanup; /api/profile verifies the access token on the server and only returns the caller's own profile. A new CI workflow runs these flows against an image built from the commit, over HTTP and HTTPS.
Added scripts/setup-env.cjs writes a .env with unique random database, admin, API and webhook secrets for Docker Compose or a source checkout. It refuses to overwrite an existing .env, so keys that encrypt stored data are never replaced. The README and Quickstart use it.
Security Database migrations verify the server certificate. With DATABASE_URL=…?sslmode=verify-full&sslrootcert=<ca>, the server verified the database certificate, but Prisma's migration engine, which reads different parameter names, encrypted without verifying it. The Docker image now translates the parameters for prisma migrate deploy; DATABASE_MIGRATION_URL overrides the URL used for migrations.
Security A fresh sign-in ignored the client's required authentication level. Only the SSO path enforced requiredAcr, so a client requiring MFA got a password-only code from the login form. See Before you upgrade.
Security A risky sign-in skipped email verification and password expiry. The risk step-up redirected to the second factor before those checks; they now run first.
Security Passkey sign-in challenges were shared per realm. Every usernameless sign-in, and anyone calling the options endpoint, replaced the same stored challenge, so concurrent sign-ins failed and could be disrupted on purpose. Each browser now gets its own challenge, bound by an HttpOnly cookie, and verification uses only that one. Passkey sign-in also enforces email verification.
Security NHI credentials no longer return stored private keys. Listing, reading or creating a credential returned a privateKeyPem that had been supplied for it. It is never returned now, and a newly supplied key is encrypted at rest.
Security Assigning an auth flow to a client was not scoped to the realm. PUT /admin/realms/{realm}/auth-flows/{id}/assign-client/{clientId} changed a client of any realm and accepted a flow of any realm. Both must now belong to the realm in the path.
Security Protocol mappers and token-enrichment plugins can no longer change protected token claims. A mapper or plugin producing sub, aud, azp, iss, scope, acr, amr, sid, cnf or nbf could rewrite who or what an access token speaks for; those claims keep the server's values now. In ID tokens, user attributes can no longer replace registered claims.
Security client_credentials tokens of clients without a service account carried any requested scope. The scope is validated like every other grant's.
Security The first production admin can no longer be admin/admin. See Before you upgrade.
Security The Docker build context excludes .env*, .npmrc, nested node_modules and other local files at every level.
Security LDAP federation now verifies the directory server's certificate. ldaps:// connections reject an untrusted or mismatched server certificate, and startTls on an ldap:// URL performs a real StartTLS upgrade, with the same checks, before any bind. Every connection is closed after use, and an empty password is refused instead of being sent as an anonymous bind. A directory signed by a private CA needs that CA trusted by the server (for example with NODE_EXTRA_CA_CERTS).
Security The mTLS guard no longer trusts certificate headers. It reads the peer certificate from a verified TLS connection only; X-Client-Certificate and X-Client-Certificate-Fingerprint request headers are ignored. The unfinished NHI certificate-authentication route now refuses every request until certificates are bound to a tenant-scoped credential.
Security Verification links are bound to their realm. Password-reset, password-change and email-verification tokens are only accepted on the realm of the user they were issued to. A token presented on another realm is rejected and stays unused.
Security Removed the hbs package. Login pages render through a small built-in view engine on the existing handlebars package, with fixed runtime options, a bounded template cache, and template and layout paths confined to the themes directory. Request data can no longer select engine options or the layout. Themes and translation helpers work as before.
Changed Login, OAuth, step-up and WebAuthn no longer depend on each other in a cycle. Their services now live in core modules (LoginCore, OAuthCore, StepUpCore, WebAuthnCore) and shared types and constants in src/authn-core, which also removes every forwardRef between them. CI now fails on new import cycles in these modules (npm run lint:cycles). As a side effect, LoginService, StepUpService, CryptoService and PrismaService each have one instance again: the brute-force module had created second copies, so the step-up cleanup ran twice per interval and brute-force records used a second database pool.
Changed The admin console loads each page on demand. Every page is its own code chunk, so the first load no longer downloads the whole console: the main bundle went from 877 kB to 138 kB (158 kB to 44 kB gzipped). The shell stays on screen with a short loading state while a page loads.
Fix Single sign-on and sign-out across sites. The Strict SSO cookie was not sent on redirects from applications on other sites, so they always saw the login page and RP-initiated logout did not end the session.
Fix prompt=consent is honoured on a fresh sign-in, not only with an existing session.
Fix The token endpoint accepts client_secret_basic. Discovery advertised it, but /token ignored the Authorization: Basic header, so clients that use it by default (most OIDC libraries and the OpenID conformance suite) got invalid_client. Sending Basic together with client_secret, or with a different client_id, is rejected as invalid_request. Discovery no longer advertises private_key_jwt, which is not implemented.
Fix Introspection reported client_credentials tokens of clients without a service account as inactive. They are active while the client exists and is enabled.
Fix JavaScript SDK: sign-out ends the single sign-on session. logout() revokes the refresh token and then sends the browser to the provider's end-session endpoint with id_token_hint (and post_logout_redirect_uri when configured), so the next sign-in asks for credentials again. The PKCE verifier and state are kept in a separate, client-scoped login transaction that expires after 10 minutes and survives the full-page redirect even when tokens use in-memory storage.
Fix NHI device certificates are real X.509. Generated certificates are standard X.509 signed with the requested key, with the requested validity, subject and SANs, and they parse with standard X.509 tooling such as Node's X509Certificate. Validation reads the real validity dates and rejects malformed or expired certificates.
Fix prompt=none works with a valid session. Silent authorization used to return login_required even when the user was signed in. It now completes without UI when the session, redirect URI, consent and requested assurance allow it, and returns login_required, consent_required or interaction_required otherwise.
Fix The integration-test database preflight no longer shells out to prisma db execute, so it works the same on Windows and Linux.
Fix OpenID Connect conformance fixes, found by running the OpenID Foundation conformance suite (oidcc-basic, static client) against Idenplane:
Fix The Helm chart did not start with its default values. The default ADMIN_API_KEY was a placeholder the server refuses in production, and the chart never set WEBHOOK_SECRET_KEY or WEBHOOK_ENCRYPTION_SALT, which production requires. CI now installs the chart on a kind cluster, signs in with the generated password, upgrades it and runs helm test.
Fix ID tokens issued by a refresh keep the original auth_time instead of the refresh time (OIDC Core §12.2). This was the last failure of the OpenID conformance basic plan.
Fix Assigning a client scope that is already assigned answers 409 instead of 500.

v0.6.0

November 2026
Before you upgrade Migrations: five run on start. They add triggers and indexes, and remove duplicate used-TOTP rows before adding a unique index.
Before you upgrade Connection pooler in transaction mode: if Idenplane reaches PostgreSQL through PgBouncer with pool_mode = transaction, or a similar pooler, set CACHE_L1=off and LEADER_ELECTION=off. Notifications and the leader lock need a session. Session mode, or a direct connection, needs nothing.
Before you upgrade Access log: only failed requests are logged now. Set LOG_ACCESS=all to log every request as before.
Before you upgrade Helm: the chart used to default to an image tag that does not exist. See Fixed below.
Added Published benchmarks against Keycloak, Zitadel and Authentik, measured on one machine with pinned images, CPUs and memory. The method, the results and the raw data are on the new Benchmarks docs page and in benchmarks/published/. The README and introduction now quote measured memory figures instead of estimates.
Added WEB_CONCURRENCY runs one worker per CPU (auto, or a number), so one container can use the whole machine instead of about one core. A small primary process forks the workers, restarts one that crashes, stops the container if workers keep failing at startup, and stops them gracefully on SIGTERM; /admin/metrics reports the whole container. The default stays one process. The CPU count honours the container's cpuset and CPU quota (a Kubernetes CPU limit), and the Argon2, database-pool and throttle budgets are split between workers rather than multiplied.
Added The server now shuts down gracefully on SIGTERM/SIGINT (it used to stop at once): in-flight requests finish, and the leader lock and database connections are released.
Security A risk-triggered step-up stepped up every user of the client. Continuous verification enforced a risky session's step-up by raising the requiredAcr of its whole client, permanently. It now applies to that user only: the authorization endpoint requires the risk's ACR (MFA, or WebAuthn at critical risk) of a user with a flagged session, until the flag expires. The trigger also recorded the required ACR as already satisfied for the session, and it announced the same step-up (risk event and WebSocket push) every minute until it expired; each risk episode is now announced once.
Security Registration, email verification and magic links had no rate limit at all. They were exempt from the global throttle and had no realm limit, so anyone could create accounts or have any address flooded with verification or sign-in mail. They now fall under the global throttle and the realm's IP limit. A verification resend or a password reset sends at most one email a minute per account, with the same response either way.
Security Concurrent failed sign-ins went uncounted. The brute-force counter runs Serializable, and PostgreSQL aborts one of two conflicting transactions; that failure was rolled back and never counted, so a parallel password-guessing burst got many more tries than maxLoginFailures. Aborted transactions are now retried, and the lockout email is sent once, after the lockout has committed.
Security One refresh token could be redeemed several times at once. Concurrent refreshes with the same token each checked it was live, then each revoked it and got new tokens: several token families from one. The revocation is now the claim, conditional on the token still being live; a request that loses is treated as reuse, and the session's refresh tokens are revoked (RFC 9700).
Security A refresh could widen the scope. A scope broader than the token was granted was issued as asked. It is now refused with invalid_scope (RFC 6749 §6); a narrower scope still works.
Security A disabled user could keep refreshing tokens. The refresh grant now refuses them.
Security A TOTP code could be accepted more than once. Submissions of the same code checked that it was unused before any of them recorded it, so concurrent ones (on one instance or several) all passed. The code is now claimed by inserting it under a new unique index on (user, code), and only the first insert wins; an earlier use whose window has passed is taken over, so a code that comes round again still works.
Changed Only failed requests get an access-log line by default (LOG_ACCESS=errors): 4xx at warn, 5xx at error. A line for every request cost throughput on the busiest endpoints. LOG_ACCESS=all logs every request as before, and off none; application logs are unaffected.
Changed Client-credentials tokens, introspection and userinfo no longer query the database per request. What a token says about its user (profile, roles direct and through groups, custom-attribute claims), the realm's scope mappers, the revoked token ids and whether a session still exists are cached in every process. New triggers announce every change to them, as for realms and clients, so a disabled user, a changed role, a revoked token or an ended session is seen by the next request.
Changed Each signing key is parsed once instead of on every token signed or verified.
Changed The protocol endpoints (token, introspection, discovery, JWKS, userinfo) are matched before the admin routes.
Changed The global throttler counts hits per second, so a request costs the same however many the client has made. (The library's storage filtered every hit in the window on each request.)
Changed Checking for pending migrations (at startup, on the admin version endpoint and in the upgrade checks) no longer blocks the server while the Prisma CLI runs.
Changed The Docker image no longer ships npm's and Prisma's download caches, source maps, TypeScript, or Prisma's query compilers for other databases.
Changed Realms, clients, signing keys and CORS origins are cached in every process, with no Redis needed. Discovery, JWKS and every realm-scoped request no longer query the database each time. The database itself keeps the copies current: triggers on realms, clients and realm_signing_keys announce each change with PostgreSQL NOTIFY, and every process and replica drops what changed as soon as it hears it, however the change was made. While that connection is down a process reads from the database, and it starts empty once reconnected. Set CACHE_L1=off behind a connection pooler in transaction mode. With Redis, the same announcements delete the shared entries.
Changed The realm rate-limit settings are read from the realm cache instead of one query per check.
Changed In-process cache hits no longer copy the cached object: a value is copied once on its way in and deeply frozen, then shared by every reader. Copying it on every read was the largest single cost left on cached requests.
Changed Token, introspection, revocation and token-verification requests no longer read the client and the realm's signing key from the database each time. Both are cached in-process only (never in Redis: they hold the client's secret hash and the private key) and dropped as soon as the database announces a change, so a disabled client or a new signing key takes effect on the next request. All 17 places that looked up the active signing key now share one lookup, which also picks the newest active key everywhere (some picked any active key).
Changed The Docker image is about 620 MB smaller on disk (447 MB to 317 MB to download). A final chown -R /app copied all of node_modules into a second layer only to change its owner. The app code and node_modules now stay owned by root, so a compromised process cannot rewrite them; the node user owns only what the server writes: /app itself, uploads, backups and themes.
Fix The Helm chart could not start Idenplane with its defaults. The image tag defaults to the chart's appVersion. That was 0.0.1, which was never published, so a default install could not pull its image. appVersion is now 0.6.0 (chart 0.2.0). The release check now refuses a tag that does not match appVersion, so the two can no longer drift apart.
Fix The database rate limiter (without Redis) could let a client past its limit at every window boundary. Concurrent requests could each restart an expired window and wipe the others' counts. Counting and restarting a window is now one atomic statement.
Fix Theme asset upload never worked. POST /admin/realms/{realm}/themes/assets/upload rejected every file (property data should not exist): the nested DTO was never transformed, so validation stripped its fields. Had it accepted one, the returned URL (/themes/assets/...) was served by nothing. Uploads are now accepted and served from /themes/uploads/{realmId}/{file}, with a sandboxing Content-Security-Policy and nosniff so an uploaded SVG cannot run script, and long-lived caching; a name's own extension is no longer doubled (logo.png.png).
Fix Disabling or uninstalling a plugin took effect only on the instance that handled the request. The others kept running it, token enrichment and event listeners included, until they restarted. Every instance now follows the change at once (PostgreSQL NOTIFY), runs its own onEnable/onDisable, and rereads all plugin states after any gap in that channel; onUninstall still runs once.
Fix Instances booting together on an empty database crashed, and could leave the master realm without an admin for good. First-boot seeding is now one transaction behind a PostgreSQL advisory lock: one instance seeds, the others find it done. A seed interrupted halfway can no longer leave a realm that every later boot takes for complete. The setup wizard's state and a plugin's first install are likewise created once when requests or instances race; an instance that loses the plugin race used to run without the plugin.
Fix NHI credential policies with autoRotate: true did nothing: their scheduler was never registered. It now runs, on the elected instance. When a credential reaches its rotation threshold it is flagged rotationRequired and an nhi.credential.rotation_due webhook is sent, once; the owner rotates it through the API, which returns the new key. The unregistered code would have revoked the working key and stored a replacement nobody could learn.
Fix Scheduled jobs ran once per instance, and two of them twice per instance. Risk re-evaluation, step-up and termination checks, trust decay and NHI credential rotation now run on one elected instance (a PostgreSQL advisory lock; another instance takes over within about 15 s). That ends duplicate termination emails and audit rows, N-fold trust decay, and duplicate credential rotations. The step-up and termination checks also carried a second @Interval of their own, which is removed. Live session events reach a client on whichever instance holds its WebSocket. LEADER_ELECTION=off restores the old behaviour.
Fix Webhooks were delivered once per instance. Every instance (Helm runs 3 by default) drained the same outbox batch and sent each event. An event is now claimed with a conditional update on the state it was read in, so only one instance delivers it. An event left PROCESSING by an instance that died mid-delivery is now taken over after a 5-minute lease; it used to stay stuck forever.
Fix Concurrent sign-ins for the same user could fail with a 500. Once the user was at the realm's session cap (maxSessionsPerUser, 10 by default), a sign-in could evict another sign-in's session in the moment between its creation and its refresh token's, which then failed on a foreign key. A new session and its refresh token are now one write, and the cap is applied afterwards, to older sessions only, so concurrent sign-ins all succeed and the newest sessions are kept. A refresh or code exchange whose session has meanwhile ended answers invalid_grant instead of a 500. Evicting older sessions at the cap is one statement and can no longer fail a sign-in: concurrent evictions could deadlock, and the loser's sign-in got a 500.
Fix The default Argon2 concurrency and database pool size now follow the CPUs the process may use (its cpuset), not every core of the host, which oversized both in pinned containers.
Fix CORS denied every client origin from five minutes after boot. The allowed-origin set expired and nothing reloaded it; the same happened right after any client edit. It is now reloaded on every client change and never expires to empty.
Fix Changes that bypassed cache invalidation were served stale with Redis. These were:
Fix With several instances, a CORS change reached only the instance that made it until the others' 5-minute cache expired. It now reaches all of them at once.

v0.5.2

November 2026
Fix Clients created by the setup wizard, or imported from Authentik or Zitadel, could not authenticate. Their secrets were stored as plaintext, which the secret check could not read (500 on every token request) (#1702). A migration hashes those rows; the clients work with the secrets they already have. The wizard also no longer keeps a copy of the secret in its own state.
Fix A client secret left in the database in no known hash format is now rejected with invalid_client instead of a 500.
Fix A client_credentials token could turn inactive within seconds under load. Each token for a client with a service account (every confidential client with client_credentials gets one) opened a session, and only the newest 100 were kept, so a client that requested tokens quickly saw its earlier, unexpired tokens fail introspection. These tokens no longer have a session, so nothing pushes them out (#1704).
Fix Userinfo now rejects a token whose user has been disabled. Introspection already did.
Fix The docs sent the admin key in X-API-Key in 56 examples, which the Admin API does not read, so each of them returned 401. They now use x-admin-api-key, and the regenerate-secret response examples match what the endpoint returns (#1705).
Changed client_credentials no longer returns a refresh_token, id_token or session_state for a client with a service account, as RFC 6749 §4.4.3 asks and as clients without a service account already behaved. The access token keeps the service account's claims and roles but no sid. Ask for a new token when one expires. Each token request also writes nothing to the database any more, where it used to create a session and a refresh token and prune old sessions. Disabling the service account, or revoking a token, still ends it. In the benchmark harness on 2 CPUs this grant went from 41 to 143 requests per second, with p95 from 3.1 s to 0.33 s.
Changed Client secrets and service-account API keys are checked in microseconds instead of one Argon2 run per request. Every token, introspection, revocation and API-key request used to pay 64 MiB and three passes of Argon2id, which capped throughput and queued behind user logins. Secrets Idenplane generates (256 random bits) are now stored as SHA-256 and compared in constant time; a slow hash protects nothing against a 2^256 search. Secrets that came from another system and may have been chosen by a person stay on Argon2id. Existing secrets move to the new format the first time they are used, with no rotation needed (#1702).
Changed Realm import keeps a client secret hash from an export made with secrets, and hashes a plaintext secret written into the file by hand.
Changed The benchmark harness runs on Docker Desktop and with locally built images (#1703).

v0.5.1

November 2026
Fix Forward auth could not sign anyone in (#1699). Three server bugs, each enough on its own:
Fix Forward auth with nginx returned 500 on every page. auth_request cannot pass a redirect on. Requests from nginx now get a 401 and the sign-in URL in X-Idenplane-Login, and the guide's nginx config redirects to it. Update your nginx config to the one in the guide. The old one also redirected to the internal idenplane:3000 address.
Fix The forward-auth example (examples/forward-auth-traefik) failed at setup: its seed sent fields the admin API rejects, and Traefik 3.3 cannot talk to Docker Engine 29.
Security A forward-auth sign-in is now bound to the browser that started it. A callback link opened in another browser fails instead of signing that browser in, including a link an attacker made for their own account (login CSRF).
Changed Benchmarks: removed comparison numbers that no benchmark ever produced (#1696), and added a reproducible Idenplane vs Keycloak harness (#1698).
Changed CI runs the forward-auth example end to end on every PR, and pins the PostgreSQL 16 client for the backup tests (#1697).

v0.5.0

November 2026
Added SMS multi-factor authentication (#1690, #1691):
Added Forward-auth proxy mode for Traefik, nginx and Caddy, managed from the admin console, with a guide and a runnable Traefik example (#1486, #1487, #1488)
Added Admin MFA status lists the user's methods, and DELETE …/users/:id/mfa/sms removes only the phone
Added Contributor setup guide and coding standards (#1511), and a release-process page (#1515). The setup guide's steps now run in CI on Linux, macOS and Windows (WSL) (#1692)
Changed Upgraded to NestJS 12 (#1665). CI and the Docker image run on Node 24 (#1651).
Changed Every second-factor check now counts any factor (authenticator app or SMS). Before, it counted only TOTP.
Changed DELETE /admin/realms/:realm/users/:id/mfa removes every second factor and the recovery codes. Use …/mfa/totp or …/mfa/sms to remove just one.
Changed Recovery codes are kept while the user still has another factor, and enrolling a second factor no longer replaces them.
Changed Theme pages fall back to English for any message a locale hasn't translated, instead of showing the raw key.
Changed Java SDK moves to Spring Boot 4 and Spring Security 7, released separately as java-v1.1.0 (#1499, #1514).
Fix Security: a realm's "Require MFA" setting could be bypassed. An unenrolled user could get a single-factor SSO session that /authorize and SAML accepted. Sessions now record the level they reached, and enrolment is required before any session is issued (#1686).
Fix Security: federated (social / IdP) sign-ins skipped TOTP, consent and the disabled-user check, and could link to an existing account through an unverified email. They now go through the same login flow as passwords (#1687).
Fix Security: email provider keys were returned by the admin API, and the SMTP password was stored unencrypted. Both are now redacted and encrypted, and are kept when a form is re-saved (#1688).
Fix Security: two parallel submissions of the same correct code could each complete a sign-in. MFA challenge attempts and recovery codes are now claimed atomically.
Fix Security: reserved render options can no longer be smuggled into theme templates (#1685).
Fix Removed a malicious secret-exfiltration workflow that had been pushed to the repository (#1650)
Fix Realm SMS settings now save, stay encrypted and take effect (#1684)
Fix webAuthnUserVerificationRequired is accepted and persisted on realms (#1682)
Fix npm run db:setup failed on every fresh checkout, because the seed didn't load .env (#1692)
Fix The Docker latest and main-<sha> tags were never published on pushes to main (#1413)
Security All open Dependabot and code-scanning alerts resolved. Dependencies updated across the server, admin console, docs, SDKs and examples.

v0.4.0

August 2026
Added Native Java SDK (idenplane-java) — OIDC token validation, Spring Boot auto-configuration starter, Jakarta EE Servlet/JAX-RS filters, a Project Reactor wrapper, and a runnable sample app (#1326)
Added Android SDK reaches Maven Central — buildable with CI, unit-tested, Jetpack Compose helpers, a Compose quickstart demo app (#1325)
Added idenplane-mcp — first-party stdio MCP server for AI agent integration, including group-management tools
Added idenplane-go and idenplane-python — Role and Group admin services
Added Terraform provider — Identity Provider and User Federation resources
Added Multi-provider email abstraction (Resend, SendGrid, Mailgun, Postmark, SMTP)
Added SMS provider configuration UI with card-grid selector
Added Admin UI: webhooks, service accounts, organizations, custom attributes, SCIM, authorization policies, plugins, impersonation, risk-assessment routing, an interactive migration wizard, a locked-out-accounts dashboard panel, a failed-login heatmap, and an expanded client template catalog (8 → 23 apps)
Added Zitadel and Authentik migration importers, alongside the existing Keycloak/Auth0 tooling
Added Real-time WebSocket push for session termination and step-up-required events
Added Security email sent when a user changes their password; email notification when a session is terminated by continuous verification
Added Production Docker Compose templates with Traefik+TLS and Nginx+TLS (Redis included)
Added Next.js and framework-free vanilla JS quickstart examples; real-browser E2E test suite for the admin console
Added Architecture Decision Records and a contributor architecture overview, published under docs/Contributing
Changed Corrected the Java SDK's Maven groupId from io.idenplane to com.idenplane, matching the domains the project actually owns (#1326)
Changed Split licensing: the server/core stays AGPL-3.0, every SDK/client package is MIT
Changed Centralized SDK bearer-token extraction, JWT decoding, and role resolution instead of duplicating it per-SDK
Fix Android SDK: logout(activity) now actually clears the browser-side session via a Custom Tab, matching what its doc comment always promised
Fix Off-by-one in the webhook durable-queue retry backoff
Fix Realm creation no longer skips its admin audit event
Security Patched all outstanding Dependabot vulnerability alerts across the server, admin-ui, docs, and SDK packages

v0.3.0

May 2026
Added SCIM 2.0 — User Provisioning endpoints for enterprise IdP sync
Added GraphQL Admin API — typed admin surface alongside REST (Correction: the GraphQL module was never mounted, so no GraphQL endpoint was ever served. It was removed in 0.10.1.)
Added Continuous Verification — step-up and termination services for in-session risk response
Added Theme Builder — drag-and-drop branding with server-side live preview rendering
Added User Self-Registration Portal — complete end-user signup flow
Added Automated upgrade & migration tooling — version-aware schema migrations
Added Performance benchmark suite — reproducible AuthMe perf baselines
Added SMS OTP — phone number fields on MFA
Added Idenplane brand — adopted 'The Bracket' logo system ([#897])
Added License: AGPL-3.0 rebrand under the Idenplane name
Performance admin-ui improvements — Vite proxy, query caching, React.memo
Fix close all 14 bug-reproduction vulnerabilities; full E2E green
Fix close IDOR in role removal + harden, no regressions
Fix patch all Dependabot vulnerabilities across SDKs, docs, Java, Go example ([#892])
Fix remove unused vulnerable xmldom direct dependency ([#891])
Fix bump Go example deps to fully-patched versions ([#896])
Fix repair test harness — schema defaults, ESM, throttling, NHI wiring
Fix align functional suites with real API; fix genuine bugs
Fix repair 14 failing spec suites; align mocks/impl, keep security
Fix repair broken init migration and global jest config
Fix env-configurable retry backoff; stop e2e post-teardown flake

v0.2.0

March 2026
Added 5 new SDKs — native iOS, native Android, Next.js, Vue, and Angular ([#22], [#23])
Added Visual Authentication Flow Designer — drag-and-drop builder for custom auth flows (Feature 24)
Added Custom Authentication Flow Engine — runtime engine backing the designer (Feature #20)
Added Organization & Team Management — B2B multi-tenancy ([#27])
Added Step-Up Authentication — context-aware reauthentication (Feature #19)
Added Migration tools — import from Keycloak and Auth0 ([#134])
Added Risk Assessment — AI-powered adaptive auth & threat detection ([#25])
Added API versioning — smooth upgrade system (Feature #17)
Added Non-Human Identity (NHI) — service-account identity management (Feature #18)
Added WebAuthn / FIDO2 — passwordless authentication
Added ABAC policy engine — fine-grained authorization (Feature #10)
Added Plugin & extension system — third-party extensibility (Feature #26)
Added User impersonation — admin troubleshooting workflow ([#271])
Added Webhook & event notification system ([#266])
Added Audit log export & streaming ([#269])
Added Per-client, per-user, per-IP rate limiting ([#265])
Added Redis session & cache layer ([#268])
Added i18n for Login & Account pages ([#270])
Added Multi-database support — SQLite, MySQL, PostgreSQL
Added Helm chart — official Kubernetes deployment (Feature #16)
Added Custom user attributes & registration flows (Feature #15)
Added CLI v1.0.0 — full management capabilities
Added SDK v1.0.0 — advanced auth features
Fix SAML XML canonicalization and ACS URL validation
Fix prevent TOTP replay attacks and session fixation
Fix batch — 7 security vulnerabilities
Fix plugin integrity, MFA cross-realm, SAML digest, Docker defaults, IP spoofing
Fix enforce per-realm rate limiting on token endpoint
Fix block default WEBHOOK_ENCRYPTION_SALT in production
Fix WebAuthn step-up ceremony verification + Docker entrypoint hardening
Fix 15 critical bugs across all 7 SDK packages
Fix add 577 @ApiResponse decorators + fix HTTP status codes

v0.1.0

February 2026
Added OAuth 2.0 / OIDC authorization code, refresh token, device flow, and token introspection endpoints
Added SAML 2.0 identity provider with SP create/update and signed assertions
Added Multi-factor authentication — TOTP enrollment and verification flows
Added Self-registration — public sign-up page with realm-level requireEmailVerification toggle
Added Admin console for realms, users, clients, client scopes, protocol mappers, and role mappings
Added JavaScript SDK (authme-sdk v0.2.0) with NestJS/Express server-side integration and 30-test suite
Added AuthMe CLI for managing the server from the command line
Added Server-side token revocation on admin logout
Added add realm-level requireEmailVerification setting
Added add Register link on login page
Added add self-registration page for public user sign-up
Fix Fix 4 MFA/2FA bugs found during security audit
Fix Fix token and introspect endpoints returning 201 instead of 200
Fix Fix form action URL in TOTP setup template
Fix Fix removeUserRealmRoles returning 200 instead of 204
Fix Fix login error messages never displayed on failed login
Fix Fix client scope names not displayed on client detail page

Full commit history and pull requests on GitHub

View on GitHub