From efa06cb329460f235ad3887488fef5528525618e Mon Sep 17 00:00:00 2001 From: Jenny <32821331+jenny-s51@users.noreply.github.com> Date: Fri, 10 Dec 2021 07:27:04 -0500 Subject: [PATCH] fix client scopes mapper labels (#1678) --- src/components/dynamic/BooleanComponent.tsx | 2 +- src/components/dynamic/labels.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/dynamic/BooleanComponent.tsx b/src/components/dynamic/BooleanComponent.tsx index 67becb4d38..0f6d40579d 100644 --- a/src/components/dynamic/BooleanComponent.tsx +++ b/src/components/dynamic/BooleanComponent.tsx @@ -12,7 +12,7 @@ export const BooleanComponent = ({ helpText, defaultValue, }: ComponentProps) => { - const { t } = useTranslation("client-scopes"); + const { t } = useTranslation("dynamic"); const { control } = useFormContext(); return ( diff --git a/src/components/dynamic/labels.ts b/src/components/dynamic/labels.ts index fc30cc8a5f..0db7540e82 100644 --- a/src/components/dynamic/labels.ts +++ b/src/components/dynamic/labels.ts @@ -14,7 +14,7 @@ export default { "Name of stored user attribute which is the name of an attribute within the UserModel.attribute map.", }, clientRoleMapping: { - client: { + clientId: { label: "Client ID", tooltip: "Client ID for role mappings. Just client roles of this client will be added to the token. If this is unset, client roles of all clients will be added to the token.",