Skip to content

Upgrading

How to move a HelixIAM installation to a newer release, and the breaking changes that need you to act.

How the schema is migrated

Flyway builds and migrates the schema, in the app, the container image and the Helm chart alike, from one migration folder per database product (db/migration/postgresql, chosen by DB_VENDOR). Versioned migration scripts are applied on startup, giving you an auditable, ordered migration history. To run them as a separate step instead (HELIX_MIGRATIONS_ENABLED=false, the Helm migrations Job), see PostgreSQL database.

Migrations are additive and backward-compatible unless a breaking change below says otherwise: a new release runs against the previous schema, and the previous release tolerates the new schema. This is what makes rolling upgrades safe.

Never edit a released migration

Once a migration has shipped and been applied anywhere, it is immutable. To change the schema, add a new migration. Editing an applied migration breaks checksum validation and corrupts the migration history.

How to upgrade

  1. Read the breaking changes. Work through every entry in Breaking changes between the release you run and the one you move to. Some need a step before you roll out.
  2. Back up. Take a fresh database backup (pg_dump, see Backup & disaster recovery) and keep DB_ENCRYPTION with it. Rolling back across a migration means restoring this backup.
  3. Roll out helix-iam-server. The first pod to start applies any pending migrations. Because migrations are backward-compatible, the old pods keep working against the same schema during the rollout. Session and token state lives in PostgreSQL (and Redis, if configured), not in any one pod, so a rolling replacement keeps signed-in sessions. Where a breaking change says old and new pods must not run side by side, use --set strategy.type=Recreate or scale to zero first.
  4. Roll out the console (a separate Deployment when console.enabled).
  5. Verify the running version and readiness (below).

With Helm, upgrade with --reset-then-reuse-values (Helm 3.14 or later), not --reuse-values: it keeps the values you set and adds the defaults of sections a newer chart introduced. With --reuse-values those sections are missing and the chart refuses to render (values section "..." is missing).

helm upgrade helixiam oci://ghcr.io/melmarzgioui/helixiam/charts/helixiam --version 1.1.0-rc.33 --reset-then-reuse-values

With Docker Compose, set the new HELIX_VERSION in .env, then docker compose pull && docker compose up -d --build (from 1.1.5 the server image is built with its driver; use the new release's compose file).

Your own server image (the server image plus the JDBC driver) is tied to one release: build it again from the new release's Dockerfile before each upgrade, then upgrade to that image. See Each HelixIAM upgrade.

The chart's update strategy is the Helm value strategy (default Kubernetes' RollingUpdate, 25% / 25%).

Verify the upgrade

/actuator/info is not exposed, so read the version from what you deployed — the image tag:

kubectl get deploy helixiam -o jsonpath='{.spec.template.spec.containers[0].image}'   # Helm
docker compose images server                                                          # Docker Compose

Then confirm readiness. It is anonymous — no session or token — so it works from any host that can reach the server (see Authenticating to the API for $HELIX_URL):

curl -s "$HELIX_URL/actuator/health/readiness"
{"status":"UP"}

With Flyway enabled, helix-iam-server logs the applied versions on startup, and flyway_schema_history in the database records every applied migration and its checksum. A readiness of UP after the restart confirms the schema reached the shape the new release expects. Then check one sign-in and one refresh of a token issued before the upgrade. See Observability & health.

Breaking changes

Only changes that need an operator to act are listed, newest first. Each group applies when you upgrade from a release before the one named. Releases not listed need no action.

Before 1.1.9: roles leave the ID token of new clients, logout without a hint asks

Migration V2033 adds the nullable column service_provider_oauth.id_token_roles; no table is rewritten.

  • ID tokens of new clients carry no roles. A client created after the upgrade has Roles in the ID token off. That includes clients created by realm import, Dynamic Client Registration or your provisioning scripts. Existing clients keep the roles in their ID tokens. Act if a new application reads realm_access or resource_access from the ID token: read them from the access token or userinfo, or switch the setting on for it. To import a realm export from before 1.1.9 with the old behaviour, add "idTokenRoles": true to the clients that need it.
  • Logout without id_token_hint asks the user. It used to show an error page. Nothing to do. See RP-initiated logout.
  • The logout error page now reads "This sign-out link is not valid". Update a theme or a test that matches the old text.

Before 1.1.5: build your image with the database driver

HelixIAM no longer ships a JDBC driver: the helix-database-drivers image is gone (its images up to 1.1.4 stay in the registry), and the bundles no longer carry drivers/postgresql.jar. The server, its tested list and its checks are unchanged.

  • Helm: run your own image. Build the server image plus the driver from the release's postgresql.Dockerfile (or mysql.Dockerfile), push it, and upgrade to it with Helm 3.14 or later. database.driver.image was removed: values that set it fail the render with helixiam: database.driver.image was removed in 1.1.5: build your own image with the driver (https://docs.helixiam.com/operations/database-driver/) or set database.driver.volume; remove database.driver.image from your values (helm upgrade: --reset-then-reuse-values --set database.driver.image=null), so drop it in the same command. database.driver.sizeLimit is gone too.

    docker build -f postgresql.Dockerfile -t registry.example.com/acme/helixiam:v1.1.5-postgresql .
    docker push registry.example.com/acme/helixiam:v1.1.5-postgresql
    helm upgrade helixiam oci://registry.helixiam.com/helixiam/charts/helixiam --version 1.1.5 \
      --reset-then-reuse-values --set database.driver.image=null \
      --set image.repository=registry.example.com/acme/helixiam --set image.tag=v1.1.5-postgresql
    

    database.driver.volume keeps working: an install that mounts its driver needs only --set database.driver.image=null. With neither your image nor a volume the server does not start, naming helix.database.driver-dir; the install notes warn whenever image.repository is the plain server image (a path ending in /helixiam/helix-iam-server, on any registry), so give your image another repository. - Docker Compose (quick start): use the 1.1.5 compose file. The 1.1.4 quick start put HELIX_SERVER_IMAGE and HELIX_CONSOLE_IMAGE with :v1.1.4 in .env, and they win over the file's version: set both to :v1.1.5 (or remove them) and drop the drivers image line, or the server stays on 1.1.4. Then start with docker compose up -d --build (Compose v2.20 or later, BuildKit): it builds the server image with the driver itself. The commands. - Linux server bundles: nothing to do. The installed drivers/postgresql.jar is the tested driver of 1.1.5, and unpacking the new bundle (or running the new install.sh) keeps it. A new install puts the jar in drivers/ itself.

The examples, for every install and for a Maven mirror, an air-gapped build and a CI pipeline: Your image: add the database driver.

Before 1.1.0: multi-database foundation

This release changes how the schema is built and where the JDBC driver comes from. It has migrations (V899 to V909, V1001) that the previous release cannot run beside or on: plan a short downtime.

  • Back up the database first; a rollback is restoring that backup. The migrations change column types, rename and drop columns, drop database defaults that HelixIAM now sets itself, and add constraints. A server of 1.1.0-rc.37 or older cannot run on the migrated schema: going back means restoring the backup taken before the upgrade, then starting the old release on it. See Backup & disaster recovery.
  • Scale every replica to zero, then upgrade. No rolling upgrade for this release: an old replica beside a migrating one starts returning errors. With Helm, scale the Deployment to 0 (or upgrade with --set strategy.type=Recreate), then helm upgrade. A single-container Docker Compose install replaces the container and needs nothing extra.
  • The upgrade checks the data first. Before its first pending migration the server checks the data those migrations would refuse and stops with one message per problem, naming the rows; nothing is migrated. For example: an RSA realm key over 4096 bits, a value longer than its new column, authenticator app settings outside the allowed ranges, two pending organization invitations or theme font faces that only differ in case. Correct the rows and start again.
  • An installation whose server ran with another TZ than UTC sets HELIX_LEGACY_WRITER_ZONE to that zone's region name (for example Europe/Amsterdam) for the one start that runs migration V909. V909 converts the times that release stored in its own zone to UTC and logs how many columns and rows it converted. Remove the setting afterwards. Nothing to do for an installation that ran in UTC (the image's default). From this release on the server and its log always run in UTC.
  • Every realm has its default claim catalogue from its creation. The reads of claims and client scopes, the export and the registration form no longer insert it on a realm's first read; migration V1001 seeds the realms that were never read, insert-if-absent. Claims and scopes you changed stay as they are, except that a realm whose client scopes were all deleted gets the default catalogue again. Nothing to do.
  • The JDBC driver comes from the drivers image, helix-database-drivers, released and signed with the server image; the server image carries none. With the release's Helm chart, Compose file or Linux server bundle there is nothing to do. A registry mirror must mirror the drivers image too. (From 1.1.5 the driver comes from your own image instead: see Before 1.1.5.)
  • The server checks the database version at start-up: it refuses PostgreSQL 13 or older and starts with a warning on PostgreSQL 14 (end of life) or a version newer than 18. See Supported versions.
  • DB_VENDOR is required (postgresql). The Helm chart, the Compose file and the Linux server bundle set it; set it yourself when you run the image another way.
  • The schema.sql mode is removed. HELIX_SQL_INIT_MODE and SPRING_SQL_INIT_MODE are ignored; remove them. HELIX_MIGRATIONS_ENABLED=false no longer builds the schema: it means the migrations run elsewhere, and the server refuses to start while a migration of its release is pending. With Helm, config.migrationsEnabled=false now runs a migrations Job before the servers start; see Schema migrations.
  • A database first built by schema.sql (an installation that ran with HELIX_MIGRATIONS_ENABLED=false and HELIX_SQL_INIT_MODE=always) has no Flyway history, and the new release refuses it until you start it once with HELIX_FLYWAY_BASELINE_VERSION: the last migration version of the release that first built the database.

    Release that built the database HELIX_FLYWAY_BASELINE_VERSION
    1.0.0-rc.13 89
    1.1.0-rc.1 to rc.5 135
    1.1.0-rc.6 140
    1.1.0-rc.7 143
    1.1.0-rc.8 145
    1.1.0-rc.9 177
    1.1.0-rc.10, rc.11 183
    1.1.0-rc.12 188
    1.1.0-rc.13 191
    1.1.0-rc.14 196
    1.1.0-rc.15 199
    1.1.0-rc.16 201
    1.1.0-rc.17 203
    1.1.0-rc.18, rc.19 206
    1.1.0-rc.20 to rc.24 215
    1.1.0-rc.25 to rc.28 217
    1.1.0-rc.29 219
    1.1.0-rc.30 to rc.37 220

    The server first proves it: it builds that version's schema from the migrations in a scratch schema of the same database (the database user needs CREATE on the database; the scratch schema is dropped afterwards) and compares tables, columns, keys, foreign keys, indexes (with their predicates), constraints, functions and triggers, by name and definition. Only when they are the same does it record the baseline and apply the later migrations; servers that start together adopt the database once. Once the database has a Flyway history the setting is ignored (a warning says so): remove it. Installations that always ran Flyway (the default everywhere) need nothing.

    When the start is refused with a list of differences, nothing was changed:

    1. Check the version against the table, for the release that first built the database, not a later one it ran. Many differences at once ("the database has no table ...", "has no column ...") usually mean the wrong version.
    2. Undo a difference you made yourself (an index, table, column, function or trigger added by hand, or a constraint renamed or dropped), exactly as the list names it: the later migrations alter these objects by name.
    3. A difference you cannot explain means the database is not what that release built: keep your backup, do not edit flyway_schema_history by hand, and send the list (schema object names only, no data) to HelixIAM support through your licence channel.
  • Configuration cache by polling. Pods learn of an admin change by reading the config_version table every 500 ms instead of PostgreSQL LISTEN/NOTIFY; the notification triggers are dropped (V902) and there is no extra connection per pod, so a pooler in transaction mode works. HELIX_CONFIG_CACHE_POLL (500 ms) and HELIX_CONFIG_CACHE_TIMEOUT (3 s) replace the cache's reconnect-delay, keep-alive and heartbeat-timeout settings, which are now ignored: remove them. A script that changes a cached table with SQL must also count the change in config_version in the same transaction, or wait for the 60 s cache TTL.

  • No database functions or triggers. V903 drops the cascade triggers; HelixIAM deletes dependent rows itself. Deleting a realm_config row with SQL is no longer supported: delete a realm with HelixIAM's realm deletion (admin API DELETE /admin/realms/{realm} with {"confirm": "<realm id>"}, master-realm administrators on a master host only; console: Realm settings > General > Delete realm).
  • Datasource settings that bypass the session check are refused: spring.datasource.hikari.data-source-properties.* (any spelling, such as an environment variable) and spring.datasource.hikari.connection-init-sql. Use the DB_* variables, or the query string of DB_URL.
  • Migration V908 drops the database defaults of credential_issuer_ca.id and saml_relying_party.client_uuid. A script that inserts into either table with SQL must give the id.
  • The migration folder moved to db/migration/postgresql (V1 to V220 unchanged, so existing Flyway histories and checksums stay valid). A tool that pointed Flyway at classpath:db/migration must point at classpath:db/migration/postgresql; a plain Flyway command line cannot run the release's Java migrations, so run the migrations with the server image.

Before 1.1.0-rc.35

No migration, and nothing to do unless the point below applies.

  • New admin route POST /admin/realms/{realmId}/clients/{id}/tests. It needs the permission manage-clients in that realm, as revealing a client secret does. It is audited as CLIENT_TEST. See Test one client.

Before 1.1.0-rc.34

No migration, and nothing to do unless one of the points below applies.

  • New admin route POST /admin/realms/{realmId}/token-tests. It needs the permission manage-realm in that realm. A delegated administrator who should use Test tokens needs that permission.
  • With IDP_BASE_URL set, test tokens carry the public issuer, the same iss as a token from the realm's public token endpoint.
  • If server.address is a single non-loopback IP address, the server logs a warning and test tokens carry the internal issuer. Test tokens then report the issuer as different from the realm's public issuer. The warning does not appear when server.address is unset, a wildcard address or a loopback address.

Before 1.1.0-rc.33

No migration. The export format is unchanged (formatVersion 2), and files from earlier releases still import, with the exceptions below.

  • LDAP and Active Directory sign-in refuse an empty password (security). Upgrade if you use either. An empty password is refused before the directory is contacted, with the same "invalid credentials" answer as a wrong password. An LDAP provider whose service account has no password no longer searches the directory anonymously: give it a password.
  • An uploaded realm import never reads the server's environment. This covers POST /admin/realms/{realm}/import (JSON, archive and Keycloak). A ${NAME} placeholder in a secret field leaves that secret as it is: an existing secret is kept, a new client gets a generated secret, other new secrets stay unset. The import result lists them in secretsNotProvided, and the console shows that list as a warning. A placeholder in any other field refuses that entry: it is listed in failed with the field name, and the response is 422. In a Keycloak import, a ${vault.<key>} reference in a secret field is treated the same way. If a pipeline relied on the server's environment to fill secrets, do one of these: put the secret values in the uploaded document (they are stored, never returned), set them afterwards in the console or admin API, or move the file to the realm-config folder.
  • The realm-config folder fills placeholders in secret fields only. A placeholder in any other field, such as clientId or a messaging provider's host, now fails that entry, and the error names the field. Write those settings as values. A secret whose variable is not set is left as it is and listed in the log; with HELIX_REALMS_REQUIRE_ENV=true the entry fails.
  • Earlier exports with a placeholder in tokenEndpoint are refused for that provider. Earlier releases wrote an OIDC provider's tokenEndpoint, and a wallet's credentials, credentialSets, credentialFormats and customCredentialQueries, as placeholders. Importing such a file now refuses that provider and names the field. Put the real value back in the file, or export again from this release.
  • New placeholders in exports. Confidential clients that use a secret are exported with ${HELIX_<REALM>_CLIENT_<CLIENTID>_SECRET}, and an organization's own identity providers with ${HELIX_<REALM>_IDP_<ALIAS>_<KEY>}. All are listed in requiredEnv. For a realm-config folder import, set these variables to keep the same secrets on the target. Without them a client gets a new secret and an organization provider has none.
  • Colliding placeholder names get a suffix. When two secrets of one export would get the same variable name (for example clients web-app and web_app), both names now end in _ and 8 hex digits. Names that did not collide are unchanged. Set the new variables listed in requiredEnv.
  • A realm with the key-store policy sovereign can be imported into a new realm. Add keyCustody.backendId, the id of a key custody backend of the target server, to the exported file. See Realm key custody. Re-importing a realm's own export needs no backendId.
  • A realm import with workload identities can be refused with 403. The import now checks, as the admin API does, that the importing administrator may act on each workload identity's "acts as" client. A delegated administrator who lacks the permissions that client's service account holds gets 403, and nothing is imported. Import such a file as a realm administrator who holds those permissions.

Before 1.1.0-rc.32

  • Some button labels are shorter. A button label on the server pages no longer breaks over two lines, so long labels were shortened (English and Dutch): "Send reset link" is Send, "I have verified my email address — continue" I've verified it, "Send the link again" Resend link, "Verify my email address" Verify email, "Confirm my email address" Confirm email, "I have done this, continue" Continue, "Sign in to accept" Sign in and "Accept invitation" Accept. Update browser tests or scripts that find these buttons by their text; ids and names are unchanged.

Before 1.1.0-rc.31

  • Server pages have a new layout. Every page in a sign-in flow (password reset, registration, e-mail verification, required actions, consent, MFA setup, errors, signed out) now uses the sign-in page's split layout, and sizes, radii and spacing follow helixiam.com on every realm. A realm with no theme of its own gets the helixiam.com look; a realm's own colours, fonts, logo and favicon are kept. The images /img/logo.svg, /img/helix-mark.svg, /img/helix-favicon.svg and /img/favicon.avif are removed. If a realm has custom CSS (Login theme → Advanced → Custom CSS), open its pages after upgrading, in light and dark and on a phone, and adjust selectors or sizes that changed. Custom CSS that points at a removed image must use the realm's own logo or /img/favicon.svg.

Before 1.1.0-rc.30

  • Users in groups get the groups' roles. Until 1.1.0-rc.30 a role on a group reached none of its members. From 1.1.0-rc.30 every member of a group, and of every group under it, holds the group's roles in tokens, SAML assertions and the console. A group that holds admin makes its members administrators of the realm. Before you upgrade, review each realm's Groups: the roles of each group and its members, including child groups. Remove what should not grant access.
  • A realm keeps its last administrator. An administrator cannot delete their own account, and the last enabled administrator cannot be deleted, disabled or lose the admin role (409 lastRealmAdmin). Scripts that remove administrators must leave one in place, or run as a master administrator.

Before 1.1.0-rc.29

  • Generic SAML connections sign their requests. Every existing connection to an external SAML identity provider starts signing its authentication and logout requests with the realm's SAML signing key. An identity provider that refuses signed requests it has no certificate for rejects the sign-in. Before you upgrade, register the connection's SP metadata with the identity provider again (download it from the connection screen, or from /realms/{realm}/broker/{alias}/saml/metadata), or set Sign authentication requests off on the connection (signAuthnRequests=false).
  • SAML connections created with the wizard before 1.1.0-rc.29 did not work. Open each one, import the identity provider's metadata again and save.
  • Importing into an existing realm keeps what the document leaves out. Settings the document omits or gives as null keep their current value; before, they were reset to 0 or off. Give a setting explicitly if a script relied on the reset. To clear the organization blocked-domain list, give "".
  • eIDAS needs an https IDP_BASE_URL. The entity ID is IDP_BASE_URL + /realms/{realm}/broker/{alias}/eidas/metadata. With plain http on any host other than localhost, a connection cannot be saved.

Before 1.1.0-rc.20 (Organizations v2)

  • Roll out with Recreate. Once a new pod has migrated (V207–V215), an older pod cannot read organizations and refuses user tokens. Use --set strategy.type=Recreate or scale to zero; one replica under a rolling update is not enough. V215 waits at most 5 seconds for its lock on organization: run it when no long transaction holds that table, and start again if it failed. Rolling back needs the pre-upgrade backup.
  • The organizations claim needs the scope organizations. Allow the client scope on each relying party that reads it and add it to the scope parameter, or read the always-present organization (active organization) instead. See Organizations in tokens.
  • A member's free-text role becomes organization roles with no permissions. Every organization gets a built-in Org admin role, granted to nobody: appoint organization admins after the upgrade (PUT .../organizations/{org}/members/{user} with roleIds), and update clients that read role.
  • Domains must be verified. Existing domains start pending and route nothing. Add the TXT record _helixiam-challenge.<domain> shown on the organization's Domains tab, then verify.
  • require_membership applies without the organization parameter, whenever the active organization is known. Check that the people of a verified domain who sign in are members, or switch it off.
  • Email linking through an identity provider needs a verified local address. Have accounts created without one verify it before their users first sign in through a provider.
  • SCIM is rate limited per token (600 a minute by default, helix.scim.rate-limit.per-token-per-minute). Raise it first if a provisioning client syncs faster.
  • Importing an older realm export in overwrite mode clears organizationBlockedDomains. Set it again afterwards.
  • Customer admins on a restricted console need their host in config.adminExtraAllowedHosts (Install).

See Organizations (B2B).

Before 1.1.0-rc.19

  • Every caller administers only its own realm. A realm admin or delegated admin gets 403 on any other realm, a service account acts only in its token's realm, and fine-grained admin grants match only <role>_<realm>. Move cross-realm automation to master-realm admins on the master host.

Before 1.1.0-rc.18 (audit and logs collected, never pushed)

  • Export audit_log first. Migration V205 drops the table, so history you did not export is deleted:

    psql "$DATABASE_URL" -c "\copy (SELECT * FROM audit_log) TO 'audit_log.csv' CSV HEADER"
    
  • Set up a log collector before you upgrade. Audit HTTP forwarding (helix.audit.http.*) and realm webhooks are removed; each audit event is one JSON line on stdout. The audit writer metrics and alerts, helix.audit.write.*, the audit retention setting, the console event search and the admin events search endpoint are gone. See Observability & health.

Before 1.1.0-rc.17 (eHerkenning KV1.13, DigiD and eIDAS)

Check every eID connection before you upgrade. Setup is in eHerkenning and DigiD and eIDAS; settings and reason codes in eID operations.

  • PKIoverheid checks are on by default. Every enabled eHerkenning connection, of any version, needs the broker's metadata imported and its signer confirmed; pasted certificates alone no longer log in. A YAML eHerkenning entry or a YAML CombiConnect DigiD entry stops the server at startup: move it to the console or admin API. HELIX_EID_PKIO_TRUST_BUNDLE=none is for test systems only.
  • Broker metadata refresh is off by default. Without config.eidMetadataRefreshInterval (for example PT6H), logins fail after a broker renews its certificates until an admin re-imports its metadata.
  • The Artifact Resolution server's certificate status is checked (hard-fail). Allow egress to its OCSP and CRL URLs; if you narrowed egress, cover that server's chain too.
  • The chart opens egress on port 80 to public addresses (networkPolicy.allowRevocationEgress, default true). Set it to false and add your own NetworkPolicy to narrow it.
  • Plain http that carries a token, personal data or a secret is refused (SCIM targets, OIDC upstreams, back-channel logout, HTTP SMS/email, workload identity discovery) unless the host is in HELIX_EGRESS_ALLOWED_PRIVATE_HOSTS. Use https://.
  • The chart refuses ingress.mtls.enabled without config.trustedProxies.
  • eHerkenning links of non-BSN identities are re-keyed (kvknr:<number>) with no migration. An existing company user's next sign-in creates a new account without roles. Per user, unlink the old link (POST .../federated-identities/{alias}/unlink) and give the new account the old one's roles, then remove the old account.
  • eID sessions are stricter. eHerkenning company, chain and DigiD Machtigen sessions get 403 on /account, /admin, /mfa, /authenticator and similar pages. Where the realm asks for a second factor, a sign-in below DigiD Substantieel or EH3 is refused (eidLevelTooLow): raise the connection's minimumLoa. Machtigen and chain sessions serve one client that has the eid scope, with no roles.
  • The eid scope is an administrator's to grant. Dynamic client registration refuses it; review clients that registered with it.
  • DigiD connections need a minimumLoa, must not set subjectAttribute, and, to be saved or imported enabled, need bsnEntitlementCategory and bsnLegalBasis (add them to older exports before restoring).
  • eIDAS connections need public or private (spType) at their next enabled save. Connections created through the API without subjectAttribute then match on the PersonIdentifier, not the NameID: plan to relink those accounts. Responses must be signed with RSASSA-PSS or ECDSA and assertions encrypted.

Before 1.1.0-rc.16 (mutual TLS revocation, workload tokens)

  • tls_client_auth refuses a client certificate whose revocation status cannot be determined (HARD_FAIL). The CA must publish OCSP or a CRL the server can reach; until then set the realm's revocation checking to SOFT_FAIL in Realm settings → Security → Mutual TLS.
  • A realm's own trust anchors replace the server-wide ones (serverTrustAnchors=FALLBACK). Set INCLUDE to keep both.
  • helix.workload-identity.token-lifetime-seconds above 3600 stops startup. Lower it first. A requested workload scope outside the credential is now invalid_scope.

See FAPI 2.0 & mutual TLS and Workload identity.

Before 1.1.0-rc.15 (FAPI 2.0)

  • Forwarded client certificates are off by default. If a proxy terminates mutual TLS, set HELIX_FAPI_CLIENT_CERT_HEADER and HELIX_FAPI_CLIENT_CERT_TRUSTED_PROXIES (Helm fapi.clientCertTrustedProxies: the ingress controller, never the console pods).
  • Clients that send DPoP proofs get DPoP-bound tokens and must present them with Authorization: DPoP and a proof.
  • Authorization responses carry iss (RFC 9207). Relying parties must accept the extra parameter.

Before 1.1.0-rc.14 (OpenID Connect conformance)

  • Tokens carry profile, email, address and phone claims only for the scopes granted. Make each relying party request the scopes whose claims it uses (typically openid profile email).
  • Userinfo returns end-user claims only. Read sid, auth_time, acr and amr from the ID token, and exp, scope and client_id from introspection.
  • Standard claims use their JSON types: updated_at is a number, phone_number_verified a boolean, address one object.
  • Implicit and hybrid flows need a larger proxy response-header buffer (ingress-nginx proxy-buffer-size: "32k") before you turn them on. See OIDC flows.

Before 1.1.0-rc.13 (key custody, data-key rotation)

  • Five secret columns are widened to text. Each ALTER takes a short exclusive lock: run the upgrade outside a burst of sign-ins.
  • Finish the rollout on every pod before you start a data-key rotation. Once a rotation has started, rolling back to an older release is not supported. See Key custody.
  • A custody factory built against the internal package must be rebuilt as a plugin against io.helixiam.custody.spi (Key custody plugins). A plugin image of your own must be pinned by digest with each jar's SHA-256.
  • The KMIP client key must not be world-readable (mode 0440 with the pod's fsGroup is accepted).

Before 1.1.0-rc.2 (console image, admin host)

  • The CSRF cookie is __Host-XSRF-TOKEN with secure cookies. A custom client that echoes the cookie must read that name (falling back to XSRF-TOKEN only on a development server).
  • Before setting adminAllowedHosts, point admin tools, Terraform, CI jobs and scripts at the admin host: on every other host /admin and the master realm answer 404. See Install.
  • The chart's default image is ghcr.io/melmarzgioui/helixiam/helix-iam-server with tag v<appVersion>. Check it if you set only one of image.repository / image.tag.
  • Account profile edits need a recent sign-in, and impersonated edits are refused. Support staff use the admin API or console.

Before 1.1.0-rc.1 (wallet extensions)

  • Client assertions are single use. Every private_key_jwt / client_secret_jwt assertion needs jti and exp, lives at most 5 minutes and is accepted once. A client that reuses one assertion must stop.
  • Typed mappers on wallet connections now run. Review each EUDI Wallet connection's Mappers tab, especially role mappers.
  • Credential issuance needs IDP_BASE_URL set to the public base URL.
  • Existing profile attributes count as untrusted for wallet attribute matching until an administrator, SCIM or an import writes them again.
  • A wallet connection may not trust this deployment's own issuers for the PID; such a connection is skipped at startup.
  • Verify-only assurance_level is high, not the LoA URI. A refused trusted-list presentation is audited as TRUST_LIST_UNAVAILABLE: update SIEM rules.

Before 1.0.0-rc.13

  • Disabling a realm takes effect. Before upgrading, check SELECT realm_id FROM realm_config WHERE NOT enabled; and switch back on any realm still in use.
  • Set DB_ENCRYPTION. The BSN is stored encrypted, and DigiD sign-in does not work without the key.
  • preferred_username never carries a BSN. DigiD usernames change. A relying party that used it as the BSN needs the bsn claim, opted in by a realm admin with a legal basis (PUT /admin/realms/{r}/bsn-release).
  • In-progress push, QR, transaction-signing, enrolment and CIBA flows are lost at the upgrade. A custom store bean must implement the new replace method.
  • Federated links of administrators are checked. After the upgrade, review the PRIVILEGED_LEGACY_LINK and PRIVILEGED_AMBIGUOUS_LINK entries of the startup report in your audit tool, confirm the links that are right and revoke trust in any you do not recognise (Users → (user) → Linked identities). See Admin roles (RBAC).
  • More actions need realm-admin: realm key writes, signing settings, admin grants, sign-in clients and flows, messaging and MFA policy. Give it to the people who do them.
  • Activate an ES256 realm key only once every replica runs the new release. A client asking for an ID-token algorithm with no active key must be changed. See Realm keys.

Before 1.0.0-rc.11

  • Wallet rolling upgrades: upgrade every replica in one step, drain wallet transactions, or set dcql.trustedAuthorities to Off for the roll.
  • Set signer-expiry-grace-days for EU trusted-list sources (it now defaults to 0). See Trusted lists.
  • Turn on the flow engine before binding an eudi-wallet-verify step.
  • The auditor role gains view-identity-providers. Review it if it must not read federation settings.
  • Spring Jackson properties are spring.jackson.* again (spring.jackson2.* is no longer read).

Before 1.0.0-rc.9 (Spring Boot 4)

  • Do not run old and new pods side by side. The older release cannot read sessions and tokens the new one writes. Upgrade with --set strategy.type=Recreate (with Helm 4, add --server-side=false once) or scale to zero first. Rolling back signs users out; with Redis, delete spring:session:* (and helix:authz:* with the Redis token store) before you roll back.
  • Rename roles named FACTOR_… (any case) first: the prefix is reserved and such roles grant nothing. The query is in Security hardening.
  • Spring properties set directly are renamed: server.error.* → spring.web.error.*, spring.session.redis.* → spring.session.data.redis.*, spring.dao.exceptiontranslation.enabled → spring.persistence.exceptiontranslation.enabled. HELIX_* settings and Helm values are unchanged.
  • Behind a proxy, set HELIX_TRUSTED_PROXIES; list every other host name clients use in HELIX_ALLOWED_HOSTS (with host:port for another port). X-Real-IP is not read: proxies must append to X-Forwarded-For. See Security hardening.
  • Allow internal SMTP relays and LDAP directories in HELIX_EGRESS_ALLOWED_PRIVATE_HOSTS (and HELIX_MESSAGING_SMTP_ALLOWED_PORTS) and HELIX_FEDERATION_LDAP_ALLOWED_HOSTS. See Configuration.
  • Client JWKS URLs must be https. A private_key_jwt client with an http JWKS URL can no longer authenticate.
  • Identity-provider secrets are write-only in the admin API; tools that read them back must stop.
  • Unknown eID minimum levels are refused. Check each connection's minimumLoa against the accepted values.
  • The generated admin password is not logged; read it from HELIX_ADMIN_PASSWORD_FILE.
  • The wallet transaction store needs PostgreSQL or Redis; wallet issuer revocation defaults to HARD_FAIL. actor_token on /oauth2/token is refused: use /agent/delegation/token. helix.outbound.fetch.login.* is split into login-admin and login-client.
  • Adding DB_ENCRYPTION to an install that ran without it needs the time-boxed plaintext migration window (HELIX_DB_ENCRYPTION_MIGRATE_PLAINTEXT, HELIX_DB_ENCRYPTION_MIGRATE_UNTIL). See Configuration.

See also