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 <afscrome@users.noreply.github.com>
This commit is contained in:
Alex Crome
2023-03-27 00:10:53 +01:00
parent 005255f83f
commit a0ef1ec734
2 changed files with 8 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-auth-backend': patch
---
Export Azure Easy Auth provider so it can actually be used.
@@ -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(),