From c88628d4f7e08710f3e6773846a79eaea36ad926 Mon Sep 17 00:00:00 2001 From: Erik Jan de Wit Date: Tue, 8 Mar 2022 10:53:25 +0100 Subject: [PATCH] Removed 'revocation' section when client is SAML (#2192) --- src/clients/AdvancedTab.tsx | 139 +++++++++++++++++++----------------- 1 file changed, 72 insertions(+), 67 deletions(-) diff --git a/src/clients/AdvancedTab.tsx b/src/clients/AdvancedTab.tsx index 651f20dd36..6a59053a92 100644 --- a/src/clients/AdvancedTab.tsx +++ b/src/clients/AdvancedTab.tsx @@ -179,78 +179,83 @@ export const AdvancedTab = ({ if (!publicClient) { sections.splice(1, 1); } + if (protocol !== openIdConnect) { + sections.splice(0, 1); + } return ( - <> - - - In order to successfully push setup url on - - {t("settings")} - - tab - - - - - } - > - - - - - - - - {!adminUrl && ( - - )} - - - - + + + + + + + + {!adminUrl && ( + + )} + + + + + )} {publicClient && ( <>