From a0ef1ec7349f998ac259d7efb265193796dbccbe Mon Sep 17 00:00:00 2001 From: Alex Crome Date: Mon, 27 Mar 2023 00:10:53 +0100 Subject: [PATCH] Properly expose easy auth provider 16108 added support for Azure easy auth, however the provider wasn't properly exposed so it can't be used. This PR fixes that by properly exposing the provider Signed-off-by: Alex Crome --- .changeset/sour-laws-walk.md | 5 +++++ plugins/auth-backend/src/providers/providers.ts | 3 +++ 2 files changed, 8 insertions(+) create mode 100644 .changeset/sour-laws-walk.md diff --git a/.changeset/sour-laws-walk.md b/.changeset/sour-laws-walk.md new file mode 100644 index 0000000000..073e3dc6a8 --- /dev/null +++ b/.changeset/sour-laws-walk.md @@ -0,0 +1,5 @@ +--- +'@backstage/plugin-auth-backend': patch +--- + +Export Azure Easy Auth provider so it can actually be used. diff --git a/plugins/auth-backend/src/providers/providers.ts b/plugins/auth-backend/src/providers/providers.ts index aa630b7481..36a24f4f6c 100644 --- a/plugins/auth-backend/src/providers/providers.ts +++ b/plugins/auth-backend/src/providers/providers.ts @@ -32,6 +32,7 @@ import { onelogin } from './onelogin'; import { saml } from './saml'; import { AuthProviderFactory } from './types'; import { bitbucketServer } from './bitbucketServer'; +import { easyAuth } from './azure-easyauth'; /** * All built-in auth provider integrations. @@ -56,6 +57,7 @@ export const providers = Object.freeze({ okta, onelogin, saml, + easyAuth, }); /** @@ -73,6 +75,7 @@ export const defaultAuthProviderFactories: { okta: okta.create(), auth0: auth0.create(), microsoft: microsoft.create(), + easyAuth: easyAuth.create(), oauth2: oauth2.create(), oidc: oidc.create(), onelogin: onelogin.create(),