parent
5cd0d51fa6
commit
c86254972b
1 changed files with 46 additions and 40 deletions
|
@ -26,6 +26,8 @@ export const LoginSettings = ({
|
||||||
const idpInitiatedSsoUrlName: string = watch(
|
const idpInitiatedSsoUrlName: string = watch(
|
||||||
"attributes.saml_idp_initiated_sso_url_name"
|
"attributes.saml_idp_initiated_sso_url_name"
|
||||||
);
|
);
|
||||||
|
|
||||||
|
const standardFlowEnabled = watch("standardFlowEnabled");
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<FormGroup
|
<FormGroup
|
||||||
|
@ -62,6 +64,8 @@ export const LoginSettings = ({
|
||||||
{...rest}
|
{...rest}
|
||||||
/>
|
/>
|
||||||
</FormGroup>
|
</FormGroup>
|
||||||
|
{standardFlowEnabled && (
|
||||||
|
<>
|
||||||
<FormGroup
|
<FormGroup
|
||||||
label={t("validRedirectUri")}
|
label={t("validRedirectUri")}
|
||||||
fieldId="kc-redirect"
|
fieldId="kc-redirect"
|
||||||
|
@ -100,7 +104,9 @@ export const LoginSettings = ({
|
||||||
stringify
|
stringify
|
||||||
{...rest}
|
{...rest}
|
||||||
/>
|
/>
|
||||||
</FormGroup>
|
</FormGroup>{" "}
|
||||||
|
</>
|
||||||
|
)}
|
||||||
{protocol === "saml" && (
|
{protocol === "saml" && (
|
||||||
<>
|
<>
|
||||||
<FormGroup
|
<FormGroup
|
||||||
|
@ -163,7 +169,7 @@ export const LoginSettings = ({
|
||||||
</FormGroup>
|
</FormGroup>
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
{protocol !== "saml" && (
|
{protocol !== "saml" && standardFlowEnabled && (
|
||||||
<FormGroup
|
<FormGroup
|
||||||
label={t("webOrigins")}
|
label={t("webOrigins")}
|
||||||
fieldId="kc-web-origins"
|
fieldId="kc-web-origins"
|
||||||
|
|
Loading…
Reference in a new issue