Merge pull request #7308 from FilipSwiatczak/bitbucket-auth

Bitbucket cloud authentication
This commit is contained in:
Patrik Oldsberg
2021-10-05 17:06:42 +02:00
committed by GitHub
24 changed files with 850 additions and 3 deletions
@@ -24,6 +24,7 @@ import {
oauth2ApiRef,
oktaAuthApiRef,
microsoftAuthApiRef,
bitbucketAuthApiRef,
} from '@backstage/core-plugin-api';
type Props = {
@@ -80,6 +81,14 @@ export const DefaultProviderSettings = ({ configuredProviders }: Props) => (
icon={Star}
/>
)}
{configuredProviders.includes('bitbucket') && (
<ProviderSettingsItem
title="Bitbucket"
description="Provides authentication towards Bitbucket APIs"
apiRef={bitbucketAuthApiRef}
icon={Star}
/>
)}
{configuredProviders.includes('oauth2') && (
<ProviderSettingsItem
title="YourOrg"