[Admin UI] Allow DynamicComponents on OIDC and SAML IDP
Signed-off-by: Réda Housni Alaoui <reda-alaoui@hey.com>
This commit is contained in:
parent
175a26f22c
commit
67912209ae
1 changed files with 4 additions and 11 deletions
|
@ -430,19 +430,12 @@ export default function DetailSettings() {
|
|||
isHorizontal
|
||||
onSubmit={handleSubmit(save)}
|
||||
>
|
||||
{!isOIDC && !isSAML && (
|
||||
<>
|
||||
<GeneralSettings create={false} id={alias} />
|
||||
{providerInfo && (
|
||||
<DynamicComponents
|
||||
stringify
|
||||
properties={providerInfo.properties}
|
||||
/>
|
||||
)}
|
||||
</>
|
||||
)}
|
||||
{!isOIDC && !isSAML && <GeneralSettings create={false} id={alias} />}
|
||||
{isOIDC && <OIDCGeneralSettings />}
|
||||
{isSAML && <SamlGeneralSettings isAliasReadonly />}
|
||||
{providerInfo && (
|
||||
<DynamicComponents stringify properties={providerInfo.properties} />
|
||||
)}
|
||||
</FormAccess>
|
||||
),
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue