From 5facde53fe55b3375f59c760107fdb09d1461e1b Mon Sep 17 00:00:00 2001 From: Mohammed Elbagoury Date: Thu, 26 Feb 2026 13:57:36 +0200 Subject: [PATCH] Expand IDP display name message keys in the account console linked accounts page Expand identity provider display names in the account console linked accounts page before rendering them. This allows names with message key syntax (e.g., ${idps.google.displayName}) to be unwrapped and rendered correctly based on the selected locale. Closes #46512 Signed-off-by: Mohammed Elbagoury --- js/apps/account-ui/src/account-security/AccountRow.tsx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/js/apps/account-ui/src/account-security/AccountRow.tsx b/js/apps/account-ui/src/account-security/AccountRow.tsx index 838f07b7d1f..7d70f012dbc 100644 --- a/js/apps/account-ui/src/account-security/AccountRow.tsx +++ b/js/apps/account-ui/src/account-security/AccountRow.tsx @@ -1,4 +1,8 @@ -import { IconMapper, useEnvironment } from "@keycloak/keycloak-ui-shared"; +import { + IconMapper, + label, + useEnvironment, +} from "@keycloak/keycloak-ui-shared"; import { Button, DataListAction, @@ -63,7 +67,7 @@ export const AccountRow = ({ - {account.displayName} + {label(t, account.displayName)}