@backstage/plugin-auth-backend 0.22.0-next.1 → 0.22.0
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 +64 -0
- package/dist/index.cjs.js +9 -9
- package/dist/index.cjs.js.map +1 -1
- package/package.json +23 -23
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,69 @@
|
|
|
1
1
|
# @backstage/plugin-auth-backend
|
|
2
2
|
|
|
3
|
+
## 0.22.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 293c835: Add support for Service Tokens to Cloudflare Access auth provider
|
|
8
|
+
- 492fe83: **BREAKING**: The `CatalogIdentityClient` constructor now also requires the `discovery` service to be forwarded from the plugin environment. This is part of the migration to support the new auth services, which has also been done for the `createRouter` function.
|
|
9
|
+
|
|
10
|
+
### Patch Changes
|
|
11
|
+
|
|
12
|
+
- 999224f: Bump dependency `minimatch` to v9
|
|
13
|
+
- 7c29e7f: Fixed refresh scope to match start method in OneLogin provider.
|
|
14
|
+
- 2af5354: Bump dependency `jose` to v5
|
|
15
|
+
- 38af71a: Updated dependency `google-auth-library` to `^9.0.0`.
|
|
16
|
+
- 0fb419b: Updated dependency `uuid` to `^9.0.0`.
|
|
17
|
+
Updated dependency `@types/uuid` to `^9.0.0`.
|
|
18
|
+
- fa7ea3f: Internal refactor to break out how the router is constructed
|
|
19
|
+
- Updated dependencies
|
|
20
|
+
- @backstage/backend-common@0.21.4
|
|
21
|
+
- @backstage/plugin-auth-node@0.4.9
|
|
22
|
+
- @backstage/config@1.2.0
|
|
23
|
+
- @backstage/errors@1.2.4
|
|
24
|
+
- @backstage/backend-plugin-api@0.6.14
|
|
25
|
+
- @backstage/plugin-auth-backend-module-oidc-provider@0.1.4
|
|
26
|
+
- @backstage/plugin-auth-backend-module-oauth2-proxy-provider@0.1.7
|
|
27
|
+
- @backstage/plugin-auth-backend-module-microsoft-provider@0.1.9
|
|
28
|
+
- @backstage/plugin-auth-backend-module-aws-alb-provider@0.1.5
|
|
29
|
+
- @backstage/plugin-catalog-node@1.8.0
|
|
30
|
+
- @backstage/catalog-client@1.6.1
|
|
31
|
+
- @backstage/plugin-auth-backend-module-gcp-iap-provider@0.2.9
|
|
32
|
+
- @backstage/plugin-auth-backend-module-google-provider@0.1.11
|
|
33
|
+
- @backstage/plugin-auth-backend-module-atlassian-provider@0.1.6
|
|
34
|
+
- @backstage/plugin-auth-backend-module-github-provider@0.1.11
|
|
35
|
+
- @backstage/plugin-auth-backend-module-gitlab-provider@0.1.11
|
|
36
|
+
- @backstage/plugin-auth-backend-module-oauth2-provider@0.1.11
|
|
37
|
+
- @backstage/plugin-auth-backend-module-okta-provider@0.0.7
|
|
38
|
+
- @backstage/catalog-model@1.4.5
|
|
39
|
+
- @backstage/types@1.1.1
|
|
40
|
+
|
|
41
|
+
## 0.22.0-next.2
|
|
42
|
+
|
|
43
|
+
### Patch Changes
|
|
44
|
+
|
|
45
|
+
- Updated dependencies
|
|
46
|
+
- @backstage/plugin-auth-backend-module-oidc-provider@0.1.4-next.2
|
|
47
|
+
- @backstage/catalog-client@1.6.1-next.1
|
|
48
|
+
- @backstage/backend-common@0.21.4-next.2
|
|
49
|
+
- @backstage/plugin-auth-node@0.4.9-next.2
|
|
50
|
+
- @backstage/plugin-catalog-node@1.8.0-next.2
|
|
51
|
+
- @backstage/backend-plugin-api@0.6.14-next.2
|
|
52
|
+
- @backstage/catalog-model@1.4.5-next.0
|
|
53
|
+
- @backstage/config@1.2.0-next.1
|
|
54
|
+
- @backstage/errors@1.2.4-next.0
|
|
55
|
+
- @backstage/types@1.1.1
|
|
56
|
+
- @backstage/plugin-auth-backend-module-atlassian-provider@0.1.6-next.2
|
|
57
|
+
- @backstage/plugin-auth-backend-module-aws-alb-provider@0.1.5-next.2
|
|
58
|
+
- @backstage/plugin-auth-backend-module-gcp-iap-provider@0.2.9-next.2
|
|
59
|
+
- @backstage/plugin-auth-backend-module-github-provider@0.1.11-next.2
|
|
60
|
+
- @backstage/plugin-auth-backend-module-gitlab-provider@0.1.11-next.2
|
|
61
|
+
- @backstage/plugin-auth-backend-module-google-provider@0.1.11-next.2
|
|
62
|
+
- @backstage/plugin-auth-backend-module-microsoft-provider@0.1.9-next.2
|
|
63
|
+
- @backstage/plugin-auth-backend-module-oauth2-provider@0.1.11-next.2
|
|
64
|
+
- @backstage/plugin-auth-backend-module-oauth2-proxy-provider@0.1.7-next.2
|
|
65
|
+
- @backstage/plugin-auth-backend-module-okta-provider@0.0.7-next.2
|
|
66
|
+
|
|
3
67
|
## 0.22.0-next.1
|
|
4
68
|
|
|
5
69
|
### Patch Changes
|
package/dist/index.cjs.js
CHANGED
|
@@ -56,14 +56,6 @@ var session__default = /*#__PURE__*/_interopDefaultLegacy(session);
|
|
|
56
56
|
var connectSessionKnex__default = /*#__PURE__*/_interopDefaultLegacy(connectSessionKnex);
|
|
57
57
|
var passport__default = /*#__PURE__*/_interopDefaultLegacy(passport);
|
|
58
58
|
|
|
59
|
-
function createAuthProviderIntegration(config) {
|
|
60
|
-
var _a;
|
|
61
|
-
return Object.freeze({
|
|
62
|
-
...config,
|
|
63
|
-
resolvers: Object.freeze((_a = config.resolvers) != null ? _a : {})
|
|
64
|
-
});
|
|
65
|
-
}
|
|
66
|
-
|
|
67
59
|
function adaptLegacyOAuthHandler(authHandler) {
|
|
68
60
|
return authHandler && (async (result, ctx) => authHandler(
|
|
69
61
|
{
|
|
@@ -128,6 +120,14 @@ function adaptOAuthSignInResolverToLegacy(resolvers) {
|
|
|
128
120
|
return legacyResolvers;
|
|
129
121
|
}
|
|
130
122
|
|
|
123
|
+
function createAuthProviderIntegration(config) {
|
|
124
|
+
var _a;
|
|
125
|
+
return Object.freeze({
|
|
126
|
+
...config,
|
|
127
|
+
resolvers: Object.freeze((_a = config.resolvers) != null ? _a : {})
|
|
128
|
+
});
|
|
129
|
+
}
|
|
130
|
+
|
|
131
131
|
const atlassian = createAuthProviderIntegration({
|
|
132
132
|
create(options) {
|
|
133
133
|
var _a;
|
|
@@ -1360,7 +1360,7 @@ class OneLoginProvider {
|
|
|
1360
1360
|
const { accessToken, refreshToken, params } = await executeRefreshTokenStrategy(
|
|
1361
1361
|
this._strategy,
|
|
1362
1362
|
req.refreshToken,
|
|
1363
|
-
|
|
1363
|
+
"openid"
|
|
1364
1364
|
);
|
|
1365
1365
|
const fullProfile = await executeFetchUserProfileStrategy(
|
|
1366
1366
|
this._strategy,
|