Wire up OneLogin provider to be visible in the settings UI
Signed-off-by: Marcus Crane <marcus.crane@lightspeedhq.com>
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
---
|
||||
'@backstage/plugin-user-settings': patch
|
||||
---
|
||||
|
||||
Wired up the OneLogin provider to be visible in the Settings UI when configured correctly.
|
||||
|
||||
Previously it wasn't visible at all.
|
||||
@@ -24,6 +24,7 @@ import {
|
||||
microsoftAuthApiRef,
|
||||
bitbucketAuthApiRef,
|
||||
atlassianAuthApiRef,
|
||||
oneloginAuthApiRef,
|
||||
} from '@backstage/core-plugin-api';
|
||||
|
||||
type Props = {
|
||||
@@ -80,6 +81,14 @@ export const DefaultProviderSettings = ({ configuredProviders }: Props) => (
|
||||
icon={Star}
|
||||
/>
|
||||
)}
|
||||
{configuredProviders.includes('onelogin') && (
|
||||
<ProviderSettingsItem
|
||||
title="OneLogin"
|
||||
description="Provides authentication towards OneLogin APIs"
|
||||
apiRef={oneloginAuthApiRef}
|
||||
icon={Star}
|
||||
/>
|
||||
)}
|
||||
{configuredProviders.includes('atlassian') && (
|
||||
<ProviderSettingsItem
|
||||
title="Atlassian"
|
||||
|
||||
Reference in New Issue
Block a user