changed default value so first one is selected by default (#38040) (#38046)

fixes: #38038

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
(cherry picked from commit 9faa81be7973e81918965fcc1d611e77da34cf8b)
This commit is contained in:
Erik Jan de Wit 2025-03-13 14:44:54 +01:00 committed by GitHub
parent c2c3032799
commit bdc7a64976
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -138,7 +138,7 @@ export const FineGrainOpenIdConnect = ({
label={t("requestObjectSignatureAlgorithm")}
labelIcon={t("requestObjectSignatureAlgorithmHelp")}
controller={{
defaultValue: "",
defaultValue: "any",
}}
options={[
{ key: "any", value: t("any") },
@ -152,7 +152,7 @@ export const FineGrainOpenIdConnect = ({
label={t("requestObjectEncryption")}
labelIcon={t("requestObjectEncryptionHelp")}
controller={{
defaultValue: "",
defaultValue: "any",
}}
options={prependAny(cekManagementProviders!)}
/>
@ -163,7 +163,7 @@ export const FineGrainOpenIdConnect = ({
label={t("requestObjectEncoding")}
labelIcon={t("requestObjectEncodingHelp")}
controller={{
defaultValue: "",
defaultValue: "any",
}}
options={prependAny(contentEncryptionProviders!)}
/>
@ -174,7 +174,7 @@ export const FineGrainOpenIdConnect = ({
label={t("requestObjectRequired")}
labelIcon={t("requestObjectRequiredHelp")}
controller={{
defaultValue: "",
defaultValue: "not required",
}}
options={[
"not required",