Merge pull request #9804 from backstage/jhaals/cleanup-auth
core-app-api: Remove deprecated auth ApiRefs
This commit is contained in:
@@ -17,11 +17,9 @@ import Star from '@material-ui/icons/Star';
|
||||
import React from 'react';
|
||||
import { ProviderSettingsItem } from './ProviderSettingsItem';
|
||||
import {
|
||||
auth0AuthApiRef,
|
||||
githubAuthApiRef,
|
||||
gitlabAuthApiRef,
|
||||
googleAuthApiRef,
|
||||
oauth2ApiRef,
|
||||
oktaAuthApiRef,
|
||||
microsoftAuthApiRef,
|
||||
bitbucketAuthApiRef,
|
||||
@@ -66,14 +64,6 @@ export const DefaultProviderSettings = ({ configuredProviders }: Props) => (
|
||||
icon={Star}
|
||||
/>
|
||||
)}
|
||||
{configuredProviders.includes('auth0') && (
|
||||
<ProviderSettingsItem
|
||||
title="Auth0"
|
||||
description="Provides authentication towards Auth0 APIs"
|
||||
apiRef={auth0AuthApiRef}
|
||||
icon={Star}
|
||||
/>
|
||||
)}
|
||||
{configuredProviders.includes('okta') && (
|
||||
<ProviderSettingsItem
|
||||
title="Okta"
|
||||
@@ -98,13 +88,5 @@ export const DefaultProviderSettings = ({ configuredProviders }: Props) => (
|
||||
icon={Star}
|
||||
/>
|
||||
)}
|
||||
{configuredProviders.includes('oauth2') && (
|
||||
<ProviderSettingsItem
|
||||
title="YourOrg"
|
||||
description="Example of how to use oauth2 custom provider"
|
||||
apiRef={oauth2ApiRef}
|
||||
icon={Star}
|
||||
/>
|
||||
)}
|
||||
</>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user