fixed input type and help text for IDP SAML Certificate (#31193)

Signed-off-by: Agnieszka Gancarczyk <agancarc@redhat.com>
Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
This commit is contained in:
agagancarczyk 2024-07-10 13:54:26 +01:00 committed by GitHub
parent 922eaa9fc8
commit 04f0304c44
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 2 deletions

View file

@ -3206,4 +3206,5 @@ redirectWhenEmailMatchesHelp=Automatically redirect the user to this identity pr
emailVerificationHelp=Specifies independent timeout for email verification.
idpAccountEmailVerificationHelp=Specifies independent timeout for IdP account email verification.
forgotPasswordHelp=Specifies independent timeout for forgot password.
executeActionsHelp=Specifies independent timeout for execute actions.
executeActionsHelp=Specifies independent timeout for execute actions.
validatingX509CertsHelp=The public certificates Keycloak uses to validate the signatures of SAML requests and responses from the external IDP when Use metadata descriptor URL is OFF. Multiple certificates can be entered separated by comma (,). The certificates can be re-imported from the Metadata descriptor URL clicking the Import Keys action in the identity provider page. The action downloads the current certificates in the metadata endpoint and assigns them to the config in this same option. You need to click Save to definitely store the re-imported certificates.

View file

@ -6,6 +6,7 @@ import { useTranslation } from "react-i18next";
import {
NumberControl,
SelectControl,
TextAreaControl,
TextControl,
} from "@keycloak/keycloak-ui-shared";
import { DefaultSwitchControl } from "../../components/SwitchControl";
@ -298,9 +299,10 @@ const Fields = ({ readOnly }: DescriptorSettingsProps) => {
isDisabled={readOnly}
/>
{useMetadataDescriptorUrl !== "true" && (
<TextControl
<TextAreaControl
name="config.signingCertificate"
label={t("validatingX509Certs")}
labelIcon={t("validatingX509CertsHelp")}
readOnly={readOnly}
/>
)}