Merge pull request #5115 from backstage/timbonicus/auth0-settings

Add auth0 to DefaultProviderSettings
This commit is contained in:
Tim
2021-03-26 11:30:04 -06:00
committed by GitHub
2 changed files with 14 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-user-settings': patch
---
Adds Auth0 to the default Authentication Providers settings page
@@ -14,6 +14,7 @@
* limitations under the License.
*/
import {
auth0AuthApiRef,
githubAuthApiRef,
gitlabAuthApiRef,
googleAuthApiRef,
@@ -63,6 +64,14 @@ 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"