diff --git a/.changeset/old-insects-smoke.md b/.changeset/old-insects-smoke.md new file mode 100644 index 0000000000..78c6e7d728 --- /dev/null +++ b/.changeset/old-insects-smoke.md @@ -0,0 +1,7 @@ +--- +'@backstage/plugin-auth-backend-module-aws-alb-provider': patch +--- + +Added `authModuleAwsAlbProvider` as a default export. + +It can now be used like this in your backend: `backend.add(import('@backstage/plugin-auth-backend-module-aws-alb-provider'));` diff --git a/plugins/auth-backend-module-aws-alb-provider/README.md b/plugins/auth-backend-module-aws-alb-provider/README.md index dd92ae7ba2..1d7b70dbe7 100644 --- a/plugins/auth-backend-module-aws-alb-provider/README.md +++ b/plugins/auth-backend-module-aws-alb-provider/README.md @@ -1,6 +1,6 @@ # Auth Module: AWS ALB Provider -This module provides an GitHub auth provider implementation for `@backstage/plugin-auth-backend`. +This module provides an AWS application load balancer auth provider implementation for `@backstage/plugin-auth-backend`. ## Links diff --git a/plugins/auth-backend-module-aws-alb-provider/api-report.md b/plugins/auth-backend-module-aws-alb-provider/api-report.md index c1f0c6f01b..1f95605114 100644 --- a/plugins/auth-backend-module-aws-alb-provider/api-report.md +++ b/plugins/auth-backend-module-aws-alb-provider/api-report.md @@ -13,7 +13,9 @@ import { ProxyAuthenticator } from '@backstage/plugin-auth-node'; import { SignInResolverFactory } from '@backstage/plugin-auth-node'; // @public (undocumented) -export const authModuleAwsAlbProvider: () => BackendFeature; +const authModuleAwsAlbProvider: () => BackendFeature; +export { authModuleAwsAlbProvider }; +export default authModuleAwsAlbProvider; // @public (undocumented) export const awsAlbAuthenticator: ProxyAuthenticator< diff --git a/plugins/auth-backend-module-aws-alb-provider/src/index.ts b/plugins/auth-backend-module-aws-alb-provider/src/index.ts index 779f558f54..d5bb259b59 100644 --- a/plugins/auth-backend-module-aws-alb-provider/src/index.ts +++ b/plugins/auth-backend-module-aws-alb-provider/src/index.ts @@ -22,5 +22,6 @@ export { awsAlbAuthenticator } from './authenticator'; export { authModuleAwsAlbProvider } from './module'; +export { authModuleAwsAlbProvider as default } from './module'; export { awsAlbSignInResolvers } from './resolvers'; export { type AwsAlbResult } from './types'; diff --git a/plugins/auth-backend-module-aws-alb-provider/src/resolvers.ts b/plugins/auth-backend-module-aws-alb-provider/src/resolvers.ts index 602498ed57..990c447124 100644 --- a/plugins/auth-backend-module-aws-alb-provider/src/resolvers.ts +++ b/plugins/auth-backend-module-aws-alb-provider/src/resolvers.ts @@ -20,7 +20,7 @@ import { } from '@backstage/plugin-auth-node'; import { AwsAlbResult } from './types'; /** - * Available sign-in resolvers for the Google auth provider. + * Available sign-in resolvers for the AWS ALB auth provider. * * @public */