Removed logout settings for saml (#2694)
This commit is contained in:
parent
ffae9b3072
commit
66c1dfff5b
1 changed files with 15 additions and 1 deletions
|
@ -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" && (
|
||||||
|
|
Loading…
Reference in a new issue