Client Details: show redirect URIs w/ implicit flow (#33120)

Fixes #33095

Signed-off-by: Stan Silvert <ssilvert@redhat.com>
This commit is contained in:
Stan Silvert 2024-09-20 14:31:58 -04:00 committed by GitHub
parent 87da4011f7
commit fe9c4dd7ed
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -18,6 +18,7 @@ export const LoginSettings = ({
const { watch } = useFormContext<FormFields>(); const { watch } = useFormContext<FormFields>();
const standardFlowEnabled = watch("standardFlowEnabled"); const standardFlowEnabled = watch("standardFlowEnabled");
const implicitFlowEnabled = watch("implicitFlowEnabled");
return ( return (
<> <>
@ -33,7 +34,7 @@ export const LoginSettings = ({
label={t("homeURL")} label={t("homeURL")}
labelIcon={t("homeURLHelp")} labelIcon={t("homeURLHelp")}
/> />
{standardFlowEnabled && ( {(standardFlowEnabled || implicitFlowEnabled) && (
<> <>
<FormGroup <FormGroup
label={t("validRedirectUri")} label={t("validRedirectUri")}