parent
d56f805a4e
commit
3bf43f15c0
1 changed files with 80 additions and 66 deletions
|
@ -54,6 +54,8 @@ export const ClientSettings = ({
|
|||
result = [...result, "samlCapabilityConfig", "signatureAndEncryption"];
|
||||
} else if (!client.bearerOnly) {
|
||||
result = [...result, "capabilityConfig"];
|
||||
} else {
|
||||
return [...result, "accessSettings"];
|
||||
}
|
||||
|
||||
return [...result, "accessSettings", "loginSettings"];
|
||||
|
@ -74,6 +76,8 @@ export const ClientSettings = ({
|
|||
)}
|
||||
{protocol === "saml" && <SamlSignature />}
|
||||
<FormAccess isHorizontal role="manage-clients">
|
||||
{!client.bearerOnly && (
|
||||
<>
|
||||
<FormGroup
|
||||
label={t("rootUrl")}
|
||||
fieldId="kc-root-url"
|
||||
|
@ -140,6 +144,8 @@ export const ClientSettings = ({
|
|||
addButtonLabel="clients:addWebOrigins"
|
||||
/>
|
||||
</FormGroup>
|
||||
</>
|
||||
)}
|
||||
<FormGroup
|
||||
label={t("adminURL")}
|
||||
fieldId="kc-admin-url"
|
||||
|
@ -157,6 +163,14 @@ export const ClientSettings = ({
|
|||
ref={register}
|
||||
/>
|
||||
</FormGroup>
|
||||
{client.bearerOnly && (
|
||||
<SaveReset
|
||||
className="keycloak__form_actions"
|
||||
name="settings"
|
||||
save={save}
|
||||
reset={reset}
|
||||
/>
|
||||
)}
|
||||
</FormAccess>
|
||||
<FormAccess isHorizontal role="manage-clients">
|
||||
<FormGroup
|
||||
|
|
Loading…
Reference in a new issue