---
title: "Keycloak"
description: "2 posts about Keycloak, summarised, each linking to the original."
---

# Keycloak
> 2 posts about Keycloak, summarised, each linking to the original.

## Articles

### [Advanced authentication for Data Grid in Red Hat OpenShift 4: Keycloak and SSO](https://yomu.fyi/post/advanced-authentication-for-data-grid-in-red-hat-openshift-4-keycloak.md)
- Company: [Red Hat](https://yomu.fyi/company/red-hat.md)
- Author: Francisco De Melo Junior, Alexander Barbosa Ayala , Suparna Nag
- Published: Oct 23, 2026
- Type: Tutorial

The article details configuring authentication for Red Hat Data Grid in Red Hat OpenShift 4 by delegating console access control to single sign-on using Red Hat build of Keycloak. It explains that Data Grid acts as an OIDC client using the public datagrid-console client to initiate the authorization code flow, with Keycloak handling login and redirecting back. The Helm chart values define a security realm with a tokenRealm containing authServerUrl and introspectionUrl, the latter pointing to the internal Keycloak service for OAuth2 introspection. Two Keycloak clients are required: datagrid-console for browser-based authentication and datagrid-client, using a client secret, for token introspection. The article also compares Red Hat build of Keycloak with the deprecated SSO, noting differences in runtime foundation (Quarkus vs JBoss EAP), custom resources, and endpoint paths.


### [High availability for everyone with multi-site Red Hat build of Keycloak on Red Hat OpenShift](https://yomu.fyi/post/high-availability-for-everyone-with-multi-site-red-hat-build-of-keyclo.md)
- Company: [Red Hat](https://yomu.fyi/company/red-hat.md)
- Author: Jerczey Godoy
- Published: Oct 21, 2026
- Type: Problem & solution

Identity and access management failures can lock healthy application workloads, yet high-availability setups for services like Keycloak have historically been operationally complex and tied to heavy cloud architectures. Starting with Red Hat build of Keycloak 26.4, the stateless feature shifts away from cross-site Infinispan cache replication by externalizing session data into a shared synchronous database, keeping local caches isolated per site, and presenting a unified OIDC issuer behind an external load balancer. An active health-check endpoint (/lb-check) enables external load balancers to detect site degradation and route traffic away from a failed site. A dual-site proof of concept using Red Hat OpenShift Local, PostgreSQL synchronous replication, and HAProxy demonstrated that scaling a primary site to zero replicas caused no user interruptions, as token refreshes and OIDC sessions remained valid. Upstream documentation improvements were contributed to clarify hostname alignment, port specification, and router stickiness configuration.
