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¶
- 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.
- Back up. Take a fresh database backup (
pg_dump, see Backup & disaster recovery) and keepDB_ENCRYPTIONwith it. Rolling back across a migration means restoring this backup. - 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=Recreateor scale to zero first. - Roll out the console (a separate Deployment when
console.enabled). - 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):
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_accessorresource_accessfrom 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": trueto the clients that need it. - Logout without
id_token_hintasks 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(ormysql.Dockerfile), push it, and upgrade to it with Helm 3.14 or later.database.driver.imagewas removed: values that set it fail the render withhelixiam: 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.sizeLimitis 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-postgresqldatabase.driver.volumekeeps 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, naminghelix.database.driver-dir; the install notes warn wheneverimage.repositoryis 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 putHELIX_SERVER_IMAGEandHELIX_CONSOLE_IMAGEwith:v1.1.4in.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 withdocker 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 installeddrivers/postgresql.jaris the tested driver of 1.1.5, and unpacking the new bundle (or running the newinstall.sh) keeps it. A new install puts the jar indrivers/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), thenhelm 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
TZthan UTC setsHELIX_LEGACY_WRITER_ZONEto that zone's region name (for exampleEurope/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_VENDORis 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.sqlmode is removed.HELIX_SQL_INIT_MODEandSPRING_SQL_INIT_MODEare ignored; remove them.HELIX_MIGRATIONS_ENABLED=falseno 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=falsenow runs a migrations Job before the servers start; see Schema migrations. -
A database first built by
schema.sql(an installation that ran withHELIX_MIGRATIONS_ENABLED=falseandHELIX_SQL_INIT_MODE=always) has no Flyway history, and the new release refuses it until you start it once withHELIX_FLYWAY_BASELINE_VERSION: the last migration version of the release that first built the database.Release that built the database HELIX_FLYWAY_BASELINE_VERSION1.0.0-rc.13 891.1.0-rc.1 to rc.5 1351.1.0-rc.6 1401.1.0-rc.7 1431.1.0-rc.8 1451.1.0-rc.9 1771.1.0-rc.10, rc.11 1831.1.0-rc.12 1881.1.0-rc.13 1911.1.0-rc.14 1961.1.0-rc.15 1991.1.0-rc.16 2011.1.0-rc.17 2031.1.0-rc.18, rc.19 2061.1.0-rc.20 to rc.24 2151.1.0-rc.25 to rc.28 2171.1.0-rc.29 2191.1.0-rc.30 to rc.37 220The 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
CREATEon 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:
- 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.
- 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.
- A difference you cannot explain means the database is not what that release built: keep your backup, do not edit
flyway_schema_historyby 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_versiontable every 500 ms instead of PostgreSQLLISTEN/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) andHELIX_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 inconfig_versionin 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_configrow with SQL is no longer supported: delete a realm with HelixIAM's realm deletion (admin APIDELETE /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) andspring.datasource.hikari.connection-init-sql. Use theDB_*variables, or the query string ofDB_URL. - Migration V908 drops the database defaults of
credential_issuer_ca.idandsaml_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 atclasspath:db/migrationmust point atclasspath: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 permissionmanage-clientsin that realm, as revealing a client secret does. It is audited asCLIENT_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 permissionmanage-realmin that realm. A delegated administrator who should use Test tokens needs that permission. - With
IDP_BASE_URLset, test tokens carry the public issuer, the sameissas a token from the realm's public token endpoint. - If
server.addressis 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 whenserver.addressis 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 insecretsNotProvided, and the console shows that list as a warning. A placeholder in any other field refuses that entry: it is listed infailedwith the field name, and the response is422. 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
clientIdor a messaging provider'shost, 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; withHELIX_REALMS_REQUIRE_ENV=truethe entry fails. - Earlier exports with a placeholder in
tokenEndpointare refused for that provider. Earlier releases wrote an OIDC provider'stokenEndpoint, and a wallet'scredentials,credentialSets,credentialFormatsandcustomCredentialQueries, 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 inrequiredEnv. 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-appandweb_app), both names now end in_and 8 hex digits. Names that did not collide are unchanged. Set the new variables listed inrequiredEnv. - A realm with the key-store policy
sovereigncan be imported into a new realm. AddkeyCustody.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 nobackendId. - 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 gets403, 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.svgand/img/favicon.avifare 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
adminmakes 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
nullkeep 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 isIDP_BASE_URL+/realms/{realm}/broker/{alias}/eidas/metadata. With plain http on any host other thanlocalhost, 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=Recreateor scale to zero; one replica under a rolling update is not enough. V215 waits at most 5 seconds for its lock onorganization: run it when no long transaction holds that table, and start again if it failed. Rolling back needs the pre-upgrade backup. - The
organizationsclaim needs the scopeorganizations. Allow the client scope on each relying party that reads it and add it to thescopeparameter, or read the always-presentorganization(active organization) instead. See Organizations in tokens. - A member's free-text
rolebecomes 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}withroleIds), and update clients that readrole. - Domains must be verified. Existing domains start
pendingand route nothing. Add the TXT record_helixiam-challenge.<domain>shown on the organization's Domains tab, then verify. require_membershipapplies without theorganizationparameter, 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
403on 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_logfirst. Migration V205 drops the table, so history you did not export is deleted: -
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=noneis for test systems only. - Broker metadata refresh is off by default. Without
config.eidMetadataRefreshInterval(for examplePT6H), 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, defaulttrue). Set it tofalseand add your own NetworkPolicy to narrow it. - Plain
httpthat 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 inHELIX_EGRESS_ALLOWED_PRIVATE_HOSTS. Usehttps://. - The chart refuses
ingress.mtls.enabledwithoutconfig.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
403on/account,/admin,/mfa,/authenticatorand similar pages. Where the realm asks for a second factor, a sign-in below DigiD Substantieel or EH3 is refused (eidLevelTooLow): raise the connection'sminimumLoa. Machtigen and chain sessions serve one client that has theeidscope, with no roles. - The
eidscope is an administrator's to grant. Dynamic client registration refuses it; review clients that registered with it. - DigiD connections need a
minimumLoa, must not setsubjectAttribute, and, to be saved or imported enabled, needbsnEntitlementCategoryandbsnLegalBasis(add them to older exports before restoring). - eIDAS connections need public or private (
spType) at their next enabled save. Connections created through the API withoutsubjectAttributethen 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_authrefuses 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 toSOFT_FAILin Realm settings → Security → Mutual TLS.- A realm's own trust anchors replace the server-wide ones (
serverTrustAnchors=FALLBACK). SetINCLUDEto keep both. helix.workload-identity.token-lifetime-secondsabove 3600 stops startup. Lower it first. A requested workload scope outside the credential is nowinvalid_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_HEADERandHELIX_FAPI_CLIENT_CERT_TRUSTED_PROXIES(Helmfapi.clientCertTrustedProxies: the ingress controller, never the console pods). - Clients that send DPoP proofs get DPoP-bound tokens and must present them with
Authorization: DPoPand 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,acrandamrfrom the ID token, andexp,scopeandclient_idfrom introspection. - Standard claims use their JSON types:
updated_atis a number,phone_number_verifieda boolean,addressone 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. EachALTERtakes 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
fsGroupis accepted).
Before 1.1.0-rc.2 (console image, admin host)¶
- The CSRF cookie is
__Host-XSRF-TOKENwith secure cookies. A custom client that echoes the cookie must read that name (falling back toXSRF-TOKENonly on a development server). - Before setting
adminAllowedHosts, point admin tools, Terraform, CI jobs and scripts at the admin host: on every other host/adminand the master realm answer404. See Install. - The chart's default image is
ghcr.io/melmarzgioui/helixiam/helix-iam-serverwith tagv<appVersion>. Check it if you set only one ofimage.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_jwtassertion needsjtiandexp, 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_URLset 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_levelishigh, not the LoA URI. A refused trusted-list presentation is audited asTRUST_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_usernamenever carries a BSN. DigiD usernames change. A relying party that used it as the BSN needs thebsnclaim, 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
replacemethod.
Before 1.0.0-rc.12¶
- Federated links of administrators are checked. After the upgrade, review the
PRIVILEGED_LEGACY_LINKandPRIVILEGED_AMBIGUOUS_LINKentries 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.trustedAuthoritiesto Off for the roll. - Set
signer-expiry-grace-daysfor EU trusted-list sources (it now defaults to 0). See Trusted lists. - Turn on the flow engine before binding an
eudi-wallet-verifystep. - The
auditorrole gainsview-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=falseonce) or scale to zero first. Rolling back signs users out; with Redis, deletespring:session:*(andhelix: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 inHELIX_ALLOWED_HOSTS(withhost:portfor another port).X-Real-IPis not read: proxies must append toX-Forwarded-For. See Security hardening. - Allow internal SMTP relays and LDAP directories in
HELIX_EGRESS_ALLOWED_PRIVATE_HOSTS(andHELIX_MESSAGING_SMTP_ALLOWED_PORTS) andHELIX_FEDERATION_LDAP_ALLOWED_HOSTS. See Configuration. - Client JWKS URLs must be
https. Aprivate_key_jwtclient with anhttpJWKS 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
minimumLoaagainst 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_tokenon/oauth2/tokenis refused: use/agent/delegation/token.helix.outbound.fetch.login.*is split intologin-adminandlogin-client. - Adding
DB_ENCRYPTIONto 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.