Removed logout settings for saml (#2694)

This commit is contained in:
Erik Jan de Wit 2022-05-27 11:27:05 +02:00 committed by GitHub
parent ffae9b3072
commit 66c1dfff5b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -67,7 +67,12 @@ export const ClientSettings = ({
let result = ["generalSettings", "accessSettings"]; let result = ["generalSettings", "accessSettings"];
if (protocol === "saml") { if (protocol === "saml") {
result = [...result, "samlCapabilityConfig", "signatureAndEncryption"]; return [
...result,
"samlCapabilityConfig",
"signatureAndEncryption",
"loginSettings",
];
} else if (!client.bearerOnly) { } else if (!client.bearerOnly) {
result = [...result, "capabilityConfig"]; result = [...result, "capabilityConfig"];
} else { } else {
@ -368,6 +373,15 @@ export const ClientSettings = ({
isDisabled={!(consentRequired && displayOnConsentScreen === "true")} isDisabled={!(consentRequired && displayOnConsentScreen === "true")}
/> />
</FormGroup> </FormGroup>
{protocol === "saml" && (
<SaveReset
className="keycloak__form_actions"
name="settings"
save={save}
reset={reset}
isActive={isManager}
/>
)}
</FormAccess> </FormAccess>
<FormAccess isHorizontal role="manage-clients"> <FormAccess isHorizontal role="manage-clients">
{protocol === "openid-connect" && ( {protocol === "openid-connect" && (