@backstage/plugin-auth-backend 0.18.8 → 0.18.9-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 CHANGED
@@ -1,30 +1,46 @@
1
1
  # @backstage/plugin-auth-backend
2
2
 
3
- ## 0.18.8
3
+ ## 0.18.9-next.1
4
4
 
5
5
  ### Patch Changes
6
6
 
7
+ - 080cc7794700: Migrated the GitLab auth provider to be implemented using the new `@backstage/plugin-auth-backend-module-gitlab-provider` module.
7
8
  - Updated dependencies
8
- - @backstage/backend-common@0.19.4
9
- - @backstage/plugin-auth-node@0.2.19
10
- - @backstage/catalog-client@1.4.3
11
- - @backstage/catalog-model@1.4.1
12
- - @backstage/config@1.0.8
9
+ - @backstage/config@1.1.0-next.0
10
+ - @backstage/plugin-auth-backend-module-gitlab-provider@0.1.0-next.0
11
+ - @backstage/plugin-auth-backend-module-github-provider@0.1.0-next.1
12
+ - @backstage/plugin-auth-backend-module-google-provider@0.1.0-next.1
13
+ - @backstage/backend-common@0.19.5-next.1
14
+ - @backstage/backend-plugin-api@0.6.3-next.1
15
+ - @backstage/catalog-model@1.4.2-next.0
16
+ - @backstage/plugin-auth-node@0.3.0-next.1
17
+ - @backstage/plugin-catalog-node@1.4.4-next.1
18
+ - @backstage/plugin-auth-backend-module-gcp-iap-provider@0.1.0-next.1
19
+ - @backstage/catalog-client@1.4.4-next.0
13
20
  - @backstage/errors@1.2.1
14
21
  - @backstage/types@1.1.0
15
22
 
16
- ## 0.18.7
23
+ ## 0.18.8-next.0
17
24
 
18
25
  ### Patch Changes
19
26
 
27
+ - 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`.
28
+ - 8513cd7d00e3: Deprecated several exports that are now available from `@backstage/plugin-auth-node` instead.
29
+ - 7944d43f4790: Added the ability to disable the built-in auth providers by passing `disableDefaultProviderFactories` to `createRouter`.
30
+ - 7944d43f4790: The algorithm used when generating Backstage tokens can be configured via `auth.identityTokenAlgorithm`.
20
31
  - Updated dependencies
21
- - @backstage/backend-common@0.19.3
22
- - @backstage/plugin-auth-node@0.2.18
32
+ - @backstage/plugin-auth-backend-module-gcp-iap-provider@0.1.0-next.0
33
+ - @backstage/plugin-auth-node@0.3.0-next.0
34
+ - @backstage/backend-common@0.19.4-next.0
35
+ - @backstage/plugin-auth-backend-module-google-provider@0.1.0-next.0
36
+ - @backstage/plugin-auth-backend-module-github-provider@0.1.0-next.0
37
+ - @backstage/backend-plugin-api@0.6.2-next.0
23
38
  - @backstage/catalog-client@1.4.3
24
39
  - @backstage/catalog-model@1.4.1
25
40
  - @backstage/config@1.0.8
26
41
  - @backstage/errors@1.2.1
27
42
  - @backstage/types@1.1.0
43
+ - @backstage/plugin-catalog-node@1.4.3-next.0
28
44
 
29
45
  ## 0.18.6
30
46
 
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';
@@ -86,18 +96,6 @@ export interface Config {
86
96
  };
87
97
  };
88
98
  /** @visibility frontend */
89
- gitlab?: {
90
- [authEnv: string]: {
91
- clientId: string;
92
- /**
93
- * @visibility secret
94
- */
95
- clientSecret: string;
96
- audience?: string;
97
- callbackUrl?: string;
98
- };
99
- };
100
- /** @visibility frontend */
101
99
  saml?: {
102
100
  entryPoint: string;
103
101
  logoutUrl?: string;