@backstage/plugin-auth-backend 0.22.12 → 0.23.0-next.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +60 -34
- package/dist/index.cjs.js +2 -4
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +6 -5
- package/package.json +24 -24
package/CHANGELOG.md
CHANGED
|
@@ -1,48 +1,74 @@
|
|
|
1
1
|
# @backstage/plugin-auth-backend
|
|
2
2
|
|
|
3
|
-
## 0.
|
|
3
|
+
## 0.23.0-next.1
|
|
4
4
|
|
|
5
5
|
### Patch Changes
|
|
6
6
|
|
|
7
7
|
- Updated dependencies
|
|
8
|
-
- @backstage/backend-common@0.
|
|
9
|
-
- @backstage/plugin-auth-backend-module-aws-alb-provider@0.1
|
|
10
|
-
- @backstage/plugin-auth-
|
|
11
|
-
- @backstage/
|
|
12
|
-
- @backstage/
|
|
13
|
-
- @backstage/
|
|
14
|
-
- @backstage/
|
|
15
|
-
- @backstage/
|
|
16
|
-
- @backstage/
|
|
17
|
-
- @backstage/plugin-auth-backend-module-
|
|
18
|
-
- @backstage/plugin-auth-backend-module-
|
|
19
|
-
- @backstage/plugin-auth-backend-module-
|
|
20
|
-
- @backstage/plugin-auth-backend-module-
|
|
21
|
-
- @backstage/plugin-auth-backend-module-
|
|
22
|
-
- @backstage/plugin-auth-backend-module-
|
|
23
|
-
- @backstage/backend-
|
|
24
|
-
- @backstage/plugin-auth-backend-module-
|
|
25
|
-
- @backstage/plugin-auth-backend-module-
|
|
26
|
-
- @backstage/plugin-
|
|
8
|
+
- @backstage/backend-common@0.25.0-next.1
|
|
9
|
+
- @backstage/plugin-auth-backend-module-aws-alb-provider@0.2.0-next.1
|
|
10
|
+
- @backstage/plugin-auth-node@0.5.2-next.1
|
|
11
|
+
- @backstage/catalog-client@1.6.7-next.0
|
|
12
|
+
- @backstage/backend-plugin-api@0.9.0-next.1
|
|
13
|
+
- @backstage/catalog-model@1.6.0
|
|
14
|
+
- @backstage/config@1.2.0
|
|
15
|
+
- @backstage/errors@1.2.4
|
|
16
|
+
- @backstage/types@1.1.1
|
|
17
|
+
- @backstage/plugin-auth-backend-module-atlassian-provider@0.3.0-next.1
|
|
18
|
+
- @backstage/plugin-auth-backend-module-azure-easyauth-provider@0.2.0-next.1
|
|
19
|
+
- @backstage/plugin-auth-backend-module-bitbucket-provider@0.2.0-next.1
|
|
20
|
+
- @backstage/plugin-auth-backend-module-cloudflare-access-provider@0.3.0-next.1
|
|
21
|
+
- @backstage/plugin-auth-backend-module-gcp-iap-provider@0.3.0-next.1
|
|
22
|
+
- @backstage/plugin-auth-backend-module-github-provider@0.2.0-next.1
|
|
23
|
+
- @backstage/plugin-auth-backend-module-gitlab-provider@0.2.0-next.1
|
|
24
|
+
- @backstage/plugin-auth-backend-module-google-provider@0.2.0-next.1
|
|
25
|
+
- @backstage/plugin-auth-backend-module-microsoft-provider@0.2.0-next.1
|
|
26
|
+
- @backstage/plugin-auth-backend-module-oauth2-provider@0.3.0-next.1
|
|
27
|
+
- @backstage/plugin-auth-backend-module-oauth2-proxy-provider@0.2.0-next.1
|
|
28
|
+
- @backstage/plugin-auth-backend-module-oidc-provider@0.3.0-next.1
|
|
29
|
+
- @backstage/plugin-auth-backend-module-okta-provider@0.1.0-next.1
|
|
30
|
+
- @backstage/plugin-auth-backend-module-onelogin-provider@0.2.0-next.1
|
|
31
|
+
- @backstage/plugin-catalog-node@1.12.7-next.1
|
|
32
|
+
|
|
33
|
+
## 0.23.0-next.0
|
|
34
|
+
|
|
35
|
+
### Minor Changes
|
|
27
36
|
|
|
28
|
-
|
|
37
|
+
- d425fc4: **BREAKING**: The return values from `createBackendPlugin`, `createBackendModule`, and `createServiceFactory` are now simply `BackendFeature` and `ServiceFactory`, instead of the previously deprecated form of a function that returns them. For this reason, `createServiceFactory` also no longer accepts the callback form where you provide direct options to the service. This also affects all `coreServices.*` service refs.
|
|
38
|
+
|
|
39
|
+
This may in particular affect tests; if you were effectively doing `createBackendModule({...})()` (note the parentheses), you can now remove those extra parentheses at the end. You may encounter cases of this in your `packages/backend/src/index.ts` too, where you add plugins, modules, and services. If you were using `createServiceFactory` with a function as its argument for the purpose of passing in options, this pattern has been deprecated for a while and is no longer supported. You may want to explore the new multiton patterns to achieve your goals, or moving settings to app-config.
|
|
40
|
+
|
|
41
|
+
As part of this change, the `IdentityFactoryOptions` type was removed, and can no longer be used to tweak that service. The identity service was also deprecated some time ago, and you will want to [migrate to the new auth system](https://backstage.io/docs/tutorials/auth-service-migration) if you still rely on it.
|
|
29
42
|
|
|
30
43
|
### Patch Changes
|
|
31
44
|
|
|
45
|
+
- 19ff127: Internal refactor to remove dependencies on the identity and token manager services, which have been removed. Public APIs no longer require the identity service or token manager to be provided.
|
|
46
|
+
- 3c2d690: Allow users without defined email to be ingested by the `msgraph` catalog plugin and add `userIdMatchingUserEntityAnnotation` sign-in resolver for the Microsoft auth provider to support sign-in for users without defined email.
|
|
32
47
|
- Updated dependencies
|
|
33
|
-
- @backstage/plugin-auth-backend-module-aws-alb-provider@0.
|
|
34
|
-
- @backstage/
|
|
35
|
-
- @backstage/
|
|
36
|
-
- @backstage/plugin-auth-backend-module-
|
|
37
|
-
- @backstage/plugin-auth-backend-module-
|
|
38
|
-
- @backstage/plugin-auth-backend-module-
|
|
39
|
-
- @backstage/plugin-auth-backend-module-
|
|
40
|
-
- @backstage/plugin-auth-backend-module-
|
|
41
|
-
- @backstage/plugin-auth-backend-module-
|
|
42
|
-
- @backstage/plugin-auth-backend-module-
|
|
43
|
-
- @backstage/plugin-auth-backend-module-
|
|
44
|
-
- @backstage/plugin-auth-backend-module-
|
|
45
|
-
- @backstage/plugin-auth-backend-module-
|
|
48
|
+
- @backstage/plugin-auth-backend-module-aws-alb-provider@0.2.0-next.0
|
|
49
|
+
- @backstage/backend-plugin-api@0.9.0-next.0
|
|
50
|
+
- @backstage/backend-common@0.25.0-next.0
|
|
51
|
+
- @backstage/plugin-auth-backend-module-microsoft-provider@0.2.0-next.0
|
|
52
|
+
- @backstage/plugin-auth-backend-module-atlassian-provider@0.3.0-next.0
|
|
53
|
+
- @backstage/plugin-auth-backend-module-azure-easyauth-provider@0.2.0-next.0
|
|
54
|
+
- @backstage/plugin-auth-backend-module-bitbucket-provider@0.2.0-next.0
|
|
55
|
+
- @backstage/plugin-auth-backend-module-cloudflare-access-provider@0.3.0-next.0
|
|
56
|
+
- @backstage/plugin-auth-backend-module-gcp-iap-provider@0.3.0-next.0
|
|
57
|
+
- @backstage/plugin-auth-backend-module-github-provider@0.2.0-next.0
|
|
58
|
+
- @backstage/plugin-auth-backend-module-gitlab-provider@0.2.0-next.0
|
|
59
|
+
- @backstage/plugin-auth-backend-module-google-provider@0.2.0-next.0
|
|
60
|
+
- @backstage/plugin-auth-backend-module-oauth2-provider@0.3.0-next.0
|
|
61
|
+
- @backstage/plugin-auth-backend-module-oauth2-proxy-provider@0.2.0-next.0
|
|
62
|
+
- @backstage/plugin-auth-backend-module-oidc-provider@0.3.0-next.0
|
|
63
|
+
- @backstage/plugin-auth-backend-module-okta-provider@0.1.0-next.0
|
|
64
|
+
- @backstage/plugin-auth-backend-module-onelogin-provider@0.2.0-next.0
|
|
65
|
+
- @backstage/plugin-auth-node@0.5.2-next.0
|
|
66
|
+
- @backstage/plugin-catalog-node@1.12.7-next.0
|
|
67
|
+
- @backstage/catalog-client@1.6.6
|
|
68
|
+
- @backstage/catalog-model@1.6.0
|
|
69
|
+
- @backstage/config@1.2.0
|
|
70
|
+
- @backstage/errors@1.2.4
|
|
71
|
+
- @backstage/types@1.1.1
|
|
46
72
|
|
|
47
73
|
## 0.22.10
|
|
48
74
|
|
package/dist/index.cjs.js
CHANGED
|
@@ -842,7 +842,8 @@ const microsoft = createAuthProviderIntegration({
|
|
|
842
842
|
resolvers: adaptOAuthSignInResolverToLegacy({
|
|
843
843
|
emailLocalPartMatchingUserEntityName: pluginAuthNode.commonSignInResolvers.emailLocalPartMatchingUserEntityName(),
|
|
844
844
|
emailMatchingUserEntityProfileEmail: pluginAuthNode.commonSignInResolvers.emailMatchingUserEntityProfileEmail(),
|
|
845
|
-
emailMatchingUserEntityAnnotation: pluginAuthBackendModuleMicrosoftProvider.microsoftSignInResolvers.emailMatchingUserEntityAnnotation()
|
|
845
|
+
emailMatchingUserEntityAnnotation: pluginAuthBackendModuleMicrosoftProvider.microsoftSignInResolvers.emailMatchingUserEntityAnnotation(),
|
|
846
|
+
userIdMatchingUserEntityAnnotation: pluginAuthBackendModuleMicrosoftProvider.microsoftSignInResolvers.userIdMatchingUserEntityAnnotation()
|
|
846
847
|
})
|
|
847
848
|
});
|
|
848
849
|
|
|
@@ -2316,7 +2317,6 @@ const authPlugin = backendPluginApi.createBackendPlugin({
|
|
|
2316
2317
|
config: backendPluginApi.coreServices.rootConfig,
|
|
2317
2318
|
database: backendPluginApi.coreServices.database,
|
|
2318
2319
|
discovery: backendPluginApi.coreServices.discovery,
|
|
2319
|
-
tokenManager: backendPluginApi.coreServices.tokenManager,
|
|
2320
2320
|
auth: backendPluginApi.coreServices.auth,
|
|
2321
2321
|
httpAuth: backendPluginApi.coreServices.httpAuth,
|
|
2322
2322
|
catalogApi: alpha.catalogServiceRef
|
|
@@ -2327,7 +2327,6 @@ const authPlugin = backendPluginApi.createBackendPlugin({
|
|
|
2327
2327
|
config,
|
|
2328
2328
|
database,
|
|
2329
2329
|
discovery,
|
|
2330
|
-
tokenManager,
|
|
2331
2330
|
auth,
|
|
2332
2331
|
httpAuth,
|
|
2333
2332
|
catalogApi
|
|
@@ -2337,7 +2336,6 @@ const authPlugin = backendPluginApi.createBackendPlugin({
|
|
|
2337
2336
|
config,
|
|
2338
2337
|
database,
|
|
2339
2338
|
discovery,
|
|
2340
|
-
tokenManager,
|
|
2341
2339
|
auth,
|
|
2342
2340
|
httpAuth,
|
|
2343
2341
|
catalogApi,
|