diff --git a/src/clients/ClientSettings.tsx b/src/clients/ClientSettings.tsx index 90f0807c15..6c5052c763 100644 --- a/src/clients/ClientSettings.tsx +++ b/src/clients/ClientSettings.tsx @@ -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,72 +76,76 @@ export const ClientSettings = ({ )} {protocol === "saml" && } - - } - > - - - - } - > - - - - } - > - - - - } - > - - + {!client.bearerOnly && ( + <> + + } + > + + + + } + > + + + + } + > + + + + } + > + + + + )} + {client.bearerOnly && ( + + )}