[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
|
isHorizontal
|
||||||
onSubmit={handleSubmit(save)}
|
onSubmit={handleSubmit(save)}
|
||||||
>
|
>
|
||||||
{!isOIDC && !isSAML && (
|
{!isOIDC && !isSAML && <GeneralSettings create={false} id={alias} />}
|
||||||
<>
|
|
||||||
<GeneralSettings create={false} id={alias} />
|
|
||||||
{providerInfo && (
|
|
||||||
<DynamicComponents
|
|
||||||
stringify
|
|
||||||
properties={providerInfo.properties}
|
|
||||||
/>
|
|
||||||
)}
|
|
||||||
</>
|
|
||||||
)}
|
|
||||||
{isOIDC && <OIDCGeneralSettings />}
|
{isOIDC && <OIDCGeneralSettings />}
|
||||||
{isSAML && <SamlGeneralSettings isAliasReadonly />}
|
{isSAML && <SamlGeneralSettings isAliasReadonly />}
|
||||||
|
{providerInfo && (
|
||||||
|
<DynamicComponents stringify properties={providerInfo.properties} />
|
||||||
|
)}
|
||||||
</FormAccess>
|
</FormAccess>
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue