Add OpenShift authenticator to the default user-settings providers page
Signed-off-by: Yannik Daellenbach <yannik@daellenbach.org>
This commit is contained in:
committed by
Yannik Daellenbach
parent
909a5cc65a
commit
ac720abcf8
@@ -26,6 +26,7 @@ import {
|
||||
bitbucketServerAuthApiRef,
|
||||
atlassianAuthApiRef,
|
||||
oneloginAuthApiRef,
|
||||
openshiftAuthApiRef,
|
||||
} from '@backstage/core-plugin-api';
|
||||
import { userSettingsTranslationRef } from '../../translation';
|
||||
import { useTranslationRef } from '@backstage/frontend-plugin-api';
|
||||
@@ -128,6 +129,14 @@ export const DefaultProviderSettings = (props: {
|
||||
icon={Star}
|
||||
/>
|
||||
)}
|
||||
{configuredProviders.includes('openshift') && (
|
||||
<ProviderSettingsItem
|
||||
title="OpenShift"
|
||||
description="Provides authentication towards OpenShift APIs and identities"
|
||||
apiRef={openshiftAuthApiRef}
|
||||
icon={Star}
|
||||
/>
|
||||
)}
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user