@backstage/plugin-auth-backend 0.19.0-next.3 → 0.19.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 +43 -0
- package/package.json +18 -18
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,48 @@
|
|
|
1
1
|
# @backstage/plugin-auth-backend
|
|
2
2
|
|
|
3
|
+
## 0.19.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 71114ac50e02: **BREAKING**: The export for the new backend system has been moved to be the `default` export.
|
|
8
|
+
|
|
9
|
+
For example, if you are currently importing the plugin using the following pattern:
|
|
10
|
+
|
|
11
|
+
```ts
|
|
12
|
+
import { examplePlugin } from '@backstage/plugin-example-backend';
|
|
13
|
+
|
|
14
|
+
backend.add(examplePlugin);
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
It should be migrated to this:
|
|
18
|
+
|
|
19
|
+
```ts
|
|
20
|
+
backend.add(import('@backstage/plugin-example-backend'));
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
### Patch Changes
|
|
24
|
+
|
|
25
|
+
- 080cc7794700: Migrated the GitLab auth provider to be implemented using the new `@backstage/plugin-auth-backend-module-gitlab-provider` module.
|
|
26
|
+
- 7944d43f4790: Added `authPlugin` export for the new backend system. The plugin does not include any built-in auth providers, they must instead be added by installing additional modules, for example `authModuleGoogleProvider` from `@backstage/plugin-auth-backend-module-google-provider`.
|
|
27
|
+
- 8513cd7d00e3: Deprecated several exports that are now available from `@backstage/plugin-auth-node` instead.
|
|
28
|
+
- 7944d43f4790: Added the ability to disable the built-in auth providers by passing `disableDefaultProviderFactories` to `createRouter`.
|
|
29
|
+
- 7944d43f4790: The algorithm used when generating Backstage tokens can be configured via `auth.identityTokenAlgorithm`.
|
|
30
|
+
- Updated dependencies
|
|
31
|
+
- @backstage/plugin-auth-backend-module-gcp-iap-provider@0.1.0
|
|
32
|
+
- @backstage/plugin-auth-backend-module-github-provider@0.1.0
|
|
33
|
+
- @backstage/plugin-auth-backend-module-gitlab-provider@0.1.0
|
|
34
|
+
- @backstage/plugin-auth-backend-module-google-provider@0.1.0
|
|
35
|
+
- @backstage/plugin-auth-backend-module-oauth2-provider@0.1.0
|
|
36
|
+
- @backstage/backend-common@0.19.5
|
|
37
|
+
- @backstage/plugin-auth-node@0.3.0
|
|
38
|
+
- @backstage/config@1.1.0
|
|
39
|
+
- @backstage/catalog-client@1.4.4
|
|
40
|
+
- @backstage/catalog-model@1.4.2
|
|
41
|
+
- @backstage/errors@1.2.2
|
|
42
|
+
- @backstage/types@1.1.1
|
|
43
|
+
- @backstage/backend-plugin-api@0.6.3
|
|
44
|
+
- @backstage/plugin-catalog-node@1.4.4
|
|
45
|
+
|
|
3
46
|
## 0.19.0-next.3
|
|
4
47
|
|
|
5
48
|
### Minor Changes
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage/plugin-auth-backend",
|
|
3
3
|
"description": "A Backstage backend plugin that handles authentication",
|
|
4
|
-
"version": "0.19.0
|
|
4
|
+
"version": "0.19.0",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
7
|
"license": "Apache-2.0",
|
|
@@ -32,20 +32,20 @@
|
|
|
32
32
|
"clean": "backstage-cli package clean"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@backstage/backend-common": "^0.19.5
|
|
36
|
-
"@backstage/backend-plugin-api": "^0.6.3
|
|
37
|
-
"@backstage/catalog-client": "^1.4.4
|
|
38
|
-
"@backstage/catalog-model": "^1.4.2
|
|
39
|
-
"@backstage/config": "^1.1.0
|
|
40
|
-
"@backstage/errors": "^1.2.2
|
|
41
|
-
"@backstage/plugin-auth-backend-module-gcp-iap-provider": "^0.1.0
|
|
42
|
-
"@backstage/plugin-auth-backend-module-github-provider": "^0.1.0
|
|
43
|
-
"@backstage/plugin-auth-backend-module-gitlab-provider": "^0.1.0
|
|
44
|
-
"@backstage/plugin-auth-backend-module-google-provider": "^0.1.0
|
|
45
|
-
"@backstage/plugin-auth-backend-module-oauth2-provider": "^0.1.0
|
|
46
|
-
"@backstage/plugin-auth-node": "^0.3.0
|
|
47
|
-
"@backstage/plugin-catalog-node": "^1.4.4
|
|
48
|
-
"@backstage/types": "^1.1.1
|
|
35
|
+
"@backstage/backend-common": "^0.19.5",
|
|
36
|
+
"@backstage/backend-plugin-api": "^0.6.3",
|
|
37
|
+
"@backstage/catalog-client": "^1.4.4",
|
|
38
|
+
"@backstage/catalog-model": "^1.4.2",
|
|
39
|
+
"@backstage/config": "^1.1.0",
|
|
40
|
+
"@backstage/errors": "^1.2.2",
|
|
41
|
+
"@backstage/plugin-auth-backend-module-gcp-iap-provider": "^0.1.0",
|
|
42
|
+
"@backstage/plugin-auth-backend-module-github-provider": "^0.1.0",
|
|
43
|
+
"@backstage/plugin-auth-backend-module-gitlab-provider": "^0.1.0",
|
|
44
|
+
"@backstage/plugin-auth-backend-module-google-provider": "^0.1.0",
|
|
45
|
+
"@backstage/plugin-auth-backend-module-oauth2-provider": "^0.1.0",
|
|
46
|
+
"@backstage/plugin-auth-node": "^0.3.0",
|
|
47
|
+
"@backstage/plugin-catalog-node": "^1.4.4",
|
|
48
|
+
"@backstage/types": "^1.1.1",
|
|
49
49
|
"@davidzemon/passport-okta-oauth": "^0.0.5",
|
|
50
50
|
"@google-cloud/firestore": "^6.0.0",
|
|
51
51
|
"@types/express": "^4.17.6",
|
|
@@ -84,9 +84,9 @@
|
|
|
84
84
|
"yn": "^4.0.0"
|
|
85
85
|
},
|
|
86
86
|
"devDependencies": {
|
|
87
|
-
"@backstage/backend-defaults": "^0.2.3
|
|
88
|
-
"@backstage/backend-test-utils": "^0.2.3
|
|
89
|
-
"@backstage/cli": "^0.22.13
|
|
87
|
+
"@backstage/backend-defaults": "^0.2.3",
|
|
88
|
+
"@backstage/backend-test-utils": "^0.2.3",
|
|
89
|
+
"@backstage/cli": "^0.22.13",
|
|
90
90
|
"@types/body-parser": "^1.19.0",
|
|
91
91
|
"@types/cookie-parser": "^1.4.2",
|
|
92
92
|
"@types/express-session": "^1.17.2",
|