diff --git a/js/apps/admin-ui/src/clients/add/LoginSettings.tsx b/js/apps/admin-ui/src/clients/add/LoginSettings.tsx index da87535dc2..00de1b21ba 100644 --- a/js/apps/admin-ui/src/clients/add/LoginSettings.tsx +++ b/js/apps/admin-ui/src/clients/add/LoginSettings.tsx @@ -26,6 +26,8 @@ export const LoginSettings = ({ const idpInitiatedSsoUrlName: string = watch( "attributes.saml_idp_initiated_sso_url_name" ); + + const standardFlowEnabled = watch("standardFlowEnabled"); return ( <> - - } - > - - - - } - > - - + {standardFlowEnabled && ( + <> + + } + > + + + + } + > + + {" "} + + )} {protocol === "saml" && ( <> )} - {protocol !== "saml" && ( + {protocol !== "saml" && standardFlowEnabled && (