@backstage/plugin-auth-backend 0.19.4 → 0.20.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 CHANGED
@@ -1,15 +1,50 @@
1
1
  # @backstage/plugin-auth-backend
2
2
 
3
- ## 0.19.4
3
+ ## 0.20.0-next.1
4
4
 
5
5
  ### Patch Changes
6
6
 
7
- - bbbacb66f8e4: Reverted the Microsoft auth provider to the previous implementation.
7
+ - 243c655a68: JSDoc and Error message updates to handle `Azure Active Directory` re-brand to `Entra ID`
8
8
  - Updated dependencies
9
- - @backstage/plugin-auth-backend-module-github-provider@0.1.3
10
- - @backstage/plugin-auth-backend-module-gitlab-provider@0.1.3
11
- - @backstage/plugin-auth-backend-module-google-provider@0.1.3
12
- - @backstage/plugin-auth-backend-module-oauth2-provider@0.1.3
9
+ - @backstage/plugin-catalog-node@1.5.0-next.1
10
+ - @backstage/backend-common@0.19.9-next.1
11
+ - @backstage/plugin-auth-backend-module-github-provider@0.1.4-next.1
12
+ - @backstage/plugin-auth-backend-module-gitlab-provider@0.1.4-next.1
13
+ - @backstage/plugin-auth-backend-module-google-provider@0.1.4-next.1
14
+ - @backstage/plugin-auth-backend-module-oauth2-provider@0.1.4-next.1
15
+ - @backstage/plugin-auth-backend-module-gcp-iap-provider@0.2.1-next.1
16
+ - @backstage/plugin-auth-node@0.4.1-next.1
17
+ - @backstage/backend-plugin-api@0.6.7-next.1
18
+ - @backstage/catalog-client@1.4.5
19
+ - @backstage/catalog-model@1.4.3
20
+ - @backstage/config@1.1.1
21
+ - @backstage/errors@1.2.3
22
+ - @backstage/types@1.1.1
23
+
24
+ ## 0.20.0-next.0
25
+
26
+ ### Minor Changes
27
+
28
+ - bdf08ad04a: Adds the StaticTokenIssuer and StaticKeyStore, an alternative token issuer that can be used to sign the Authorization header using a predefined public/private key pair.
29
+
30
+ ### Patch Changes
31
+
32
+ - 96c4f54bf6: Reverted the Microsoft auth provider to the previous implementation.
33
+ - Updated dependencies
34
+ - @backstage/backend-common@0.19.9-next.0
35
+ - @backstage/backend-plugin-api@0.6.7-next.0
36
+ - @backstage/catalog-client@1.4.5
37
+ - @backstage/catalog-model@1.4.3
38
+ - @backstage/config@1.1.1
39
+ - @backstage/errors@1.2.3
40
+ - @backstage/types@1.1.1
41
+ - @backstage/plugin-auth-backend-module-gcp-iap-provider@0.2.1-next.0
42
+ - @backstage/plugin-auth-backend-module-github-provider@0.1.4-next.0
43
+ - @backstage/plugin-auth-backend-module-gitlab-provider@0.1.4-next.0
44
+ - @backstage/plugin-auth-backend-module-google-provider@0.1.4-next.0
45
+ - @backstage/plugin-auth-backend-module-oauth2-provider@0.1.4-next.0
46
+ - @backstage/plugin-auth-node@0.4.1-next.0
47
+ - @backstage/plugin-catalog-node@1.4.8-next.0
13
48
 
14
49
  ## 0.19.3
15
50
 
package/README.md CHANGED
@@ -158,6 +158,10 @@ To try out SAML, you can use the mock identity provider:
158
158
 
159
159
  [How to add an auth provider](https://github.com/backstage/backstage/blob/master/docs/auth/add-auth-provider.md)
160
160
 
161
+ ## Token issuers
162
+
163
+ [Configuring token issuers](https://github.com/backstage/backstage/blob/master/docs/auth/index.md)
164
+
161
165
  ## Links
162
166
 
163
167
  - [The Backstage homepage](https://backstage.io)
package/config.d.ts CHANGED
@@ -43,7 +43,7 @@ export interface Config {
43
43
 
44
44
  /** To control how to store JWK data in auth-backend */
45
45
  keyStore?: {
46
- provider?: 'database' | 'memory' | 'firestore';
46
+ provider?: 'database' | 'memory' | 'firestore' | 'static';
47
47
  firestore?: {
48
48
  /** The host to connect to */
49
49
  host?: string;
@@ -65,6 +65,21 @@ export interface Config {
65
65
  /** Timeout used for database operations. Defaults to 10000ms */
66
66
  timeout?: number;
67
67
  };
68
+ static?: {
69
+ /** Must be declared at least once and the first one will be used for signing */
70
+ keys: Array<{
71
+ /** Path to the public key file in the SPKI format */
72
+ publicKeyFile: string;
73
+ /** Path to the matching private key file in the PKCS#8 format */
74
+ privateKeyFile: string;
75
+ /** id to uniquely identify this key within the JWK set */
76
+ keyId: string;
77
+ /** JWS "alg" (Algorithm) Header Parameter value. Defaults to ES256.
78
+ * Must match the algorithm used to generate the keys in the provided files
79
+ */
80
+ algorithm?: string;
81
+ }>;
82
+ };
68
83
  };
69
84
 
70
85
  /**