@backstage/plugin-auth-backend 0.18.7 → 0.18.8-next.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 +12 -3
- package/config.d.ts +10 -0
- package/dist/index.cjs.js +253 -577
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +157 -317
- package/package.json +11 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,17 +1,26 @@
|
|
|
1
1
|
# @backstage/plugin-auth-backend
|
|
2
2
|
|
|
3
|
-
## 0.18.
|
|
3
|
+
## 0.18.8-next.0
|
|
4
4
|
|
|
5
5
|
### Patch Changes
|
|
6
6
|
|
|
7
|
+
- 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`.
|
|
8
|
+
- 8513cd7d00e3: Deprecated several exports that are now available from `@backstage/plugin-auth-node` instead.
|
|
9
|
+
- 7944d43f4790: Added the ability to disable the built-in auth providers by passing `disableDefaultProviderFactories` to `createRouter`.
|
|
10
|
+
- 7944d43f4790: The algorithm used when generating Backstage tokens can be configured via `auth.identityTokenAlgorithm`.
|
|
7
11
|
- Updated dependencies
|
|
8
|
-
- @backstage/backend-
|
|
9
|
-
- @backstage/plugin-auth-node@0.
|
|
12
|
+
- @backstage/plugin-auth-backend-module-gcp-iap-provider@0.1.0-next.0
|
|
13
|
+
- @backstage/plugin-auth-node@0.3.0-next.0
|
|
14
|
+
- @backstage/backend-common@0.19.4-next.0
|
|
15
|
+
- @backstage/plugin-auth-backend-module-google-provider@0.1.0-next.0
|
|
16
|
+
- @backstage/plugin-auth-backend-module-github-provider@0.1.0-next.0
|
|
17
|
+
- @backstage/backend-plugin-api@0.6.2-next.0
|
|
10
18
|
- @backstage/catalog-client@1.4.3
|
|
11
19
|
- @backstage/catalog-model@1.4.1
|
|
12
20
|
- @backstage/config@1.0.8
|
|
13
21
|
- @backstage/errors@1.2.1
|
|
14
22
|
- @backstage/types@1.1.0
|
|
23
|
+
- @backstage/plugin-catalog-node@1.4.3-next.0
|
|
15
24
|
|
|
16
25
|
## 0.18.6
|
|
17
26
|
|
package/config.d.ts
CHANGED
|
@@ -31,6 +31,16 @@ export interface Config {
|
|
|
31
31
|
secret?: string;
|
|
32
32
|
};
|
|
33
33
|
|
|
34
|
+
/**
|
|
35
|
+
* JWS "alg" (Algorithm) Header Parameter value. Defaults to ES256.
|
|
36
|
+
* Must match one of the algorithms defined for IdentityClient.
|
|
37
|
+
* When setting a different algorithm, check if the `key` field
|
|
38
|
+
* of the `signing_keys` table can fit the length of the generated keys.
|
|
39
|
+
* If not, add a knex migration file in the migrations folder.
|
|
40
|
+
* More info on supported algorithms: https://github.com/panva/jose
|
|
41
|
+
*/
|
|
42
|
+
identityTokenAlgorithm?: string;
|
|
43
|
+
|
|
34
44
|
/** To control how to store JWK data in auth-backend */
|
|
35
45
|
keyStore?: {
|
|
36
46
|
provider?: 'database' | 'memory' | 'firestore';
|