From 7cd7d0b251556948b5630fdf18f41d528d3f99f9 Mon Sep 17 00:00:00 2001 From: ikhomyn <89014675+ikhomyn@users.noreply.github.com> Date: Tue, 16 Aug 2022 12:54:13 +0200 Subject: [PATCH] added translation for OIDC choices for Client authentication (#3088) * added translation for OIDC choices for Client authentication * requested changes * requested changes --- public/resources/en/identity-providers.json | 8 ++++---- src/identity-providers/add/OIDCAuthentication.tsx | 12 ++++++------ 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/public/resources/en/identity-providers.json b/public/resources/en/identity-providers.json index ecb50bfd32..fbee532f95 100644 --- a/public/resources/en/identity-providers.json +++ b/public/resources/en/identity-providers.json @@ -111,10 +111,10 @@ }, "clientAuthentication": "Client authentication", "clientAuthentications": { - "clientAuth_post": "Client secret sent as post", - "clientAuth_basic": "Client secret sent as basic auth", - "clientAuth_secret_jwt": "Client secret as jwt", - "clientAuth_privatekey_jwt": "JWT signed with private key" + "client_secret_post": "Client secret sent as post", + "client_secret_basic": "Client secret sent as basic auth", + "client_secret_jwt": "Client secret as jwt", + "private_key_jwt": "JWT signed with private key" }, "acceptsPromptNone": "Accepts prompt=none forward from client", "validateSignature": "Validate Signatures", diff --git a/src/identity-providers/add/OIDCAuthentication.tsx b/src/identity-providers/add/OIDCAuthentication.tsx index 3960d0fd89..e64ec71ef2 100644 --- a/src/identity-providers/add/OIDCAuthentication.tsx +++ b/src/identity-providers/add/OIDCAuthentication.tsx @@ -11,7 +11,7 @@ import { import { ClientIdSecret } from "../component/ClientIdSecret"; import { HelpItem } from "../../components/help-enabler/HelpItem"; -const clientAuthenticationTypes = [ +const clientAuthentications = [ "client_secret_post", "client_secret_basic", "client_secret_jwt", @@ -42,12 +42,12 @@ export const OIDCAuthentication = ({ create = true }: { create?: boolean }) => { fieldId="clientAuthentication" > (