Keycloak upgrades

Planning Keycloak version upgrades: what changed in the 26 line, how the database migrates, and when rolling updates avoid downtime.

Keycloak 25 to 26 upgrade

Moving from Keycloak 25 to 26 without losing sessions: enabling persistent sessions first, the Protostream cache change, hostname v2 and proxy-headers, and testing custom providers against the new release.

Keycloak 26 minor upgrades to 26.8

Keeping a Keycloak 26 deployment current through the quarterly minor releases: reading the per-release migration notes, opt-in breaking changes, and the 26.8 changes to SMTP, logout tokens and multi-site.

Keycloak zero-downtime patch upgrades

Applying Keycloak patch releases without an outage: the update-compatibility check, rolling restarts behind sticky sessions, and the Operator rolling update strategy.

Keycloak 24 to 25 upgrade

Moving from Keycloak 24 to 25: the new hostname options, persistent user sessions, Argon2 password hashing, metrics and health moving to the management port, the removed session_state claim and the new basic client scope.

Keycloak 21 to 22 upgrade: Jakarta EE and Quarkus 3

The Keycloak 22 jump that breaks most custom code: the move from Java EE to Jakarta EE, Quarkus 3 and Hibernate ORM 6, the deprecation of the OIDC and SAML adapters, and the keycloak-js API removals to test before upgrading.

Keycloak Operator upgrades with Operator Lifecycle Manager

Upgrading Keycloak on Kubernetes or OpenShift through the Operator: install channels, why manual approval is recommended for operator updates, how the Keycloak custom resource version follows the operator, and testing realms before approving.

Upgrading keycloak-js and Keycloak client libraries

Planning the application side of a Keycloak upgrade: the order of server, adapters and client libraries, keycloak-js releases and breaking API changes, admin client artifacts, and testing token handling and logout in each application.

Upgrading a multi-cluster Keycloak deployment

Upgrading Keycloak that runs across two or more clusters: zero-downtime patch upgrades, the stop-all-but-one-site sequence for minor and major versions, why mixed versions are not supported, and keeping database replication synchronous.

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.