@backstage/plugin-auth-backend 0.4.3 → 0.4.7
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 +56 -0
- package/config.d.ts +29 -0
- package/dist/index.cjs.js +450 -91
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +180 -108
- package/package.json +11 -10
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,61 @@
|
|
|
1
1
|
# @backstage/plugin-auth-backend
|
|
2
2
|
|
|
3
|
+
## 0.4.7
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 5ee31f860b: Only use settings that have a value when creating a new FirestoreKeyStore instance
|
|
8
|
+
- 3e0e2f09d5: Added forwarding of the `audience` option for the SAML provider, making it possible to enable `audience` verification.
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
- @backstage/backend-common@0.9.9
|
|
11
|
+
- @backstage/test-utils@0.1.21
|
|
12
|
+
- @backstage/catalog-client@0.5.1
|
|
13
|
+
|
|
14
|
+
## 0.4.6
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- 3b767f19c9: Allow OAuth state to be encoded by a stateEncoder.
|
|
19
|
+
- Updated dependencies
|
|
20
|
+
- @backstage/test-utils@0.1.20
|
|
21
|
+
- @backstage/config@0.1.11
|
|
22
|
+
- @backstage/errors@0.1.4
|
|
23
|
+
- @backstage/backend-common@0.9.8
|
|
24
|
+
- @backstage/catalog-model@0.9.6
|
|
25
|
+
|
|
26
|
+
## 0.4.5
|
|
27
|
+
|
|
28
|
+
### Patch Changes
|
|
29
|
+
|
|
30
|
+
- 9322e632e9: Require that audience URLs for Okta authentication start with https
|
|
31
|
+
- de3e26aecc: Fix a bug preventing an access token to be refreshed a second time with the GitHub provider.
|
|
32
|
+
- ab9b4a6ea6: Add Firestore as key-store provider.
|
|
33
|
+
Add `auth.keyStore` section to application config.
|
|
34
|
+
- 202f322927: Atlassian auth provider
|
|
35
|
+
|
|
36
|
+
- AtlassianAuth added to core-app-api
|
|
37
|
+
- Atlassian provider added to plugin-auth-backend
|
|
38
|
+
- Updated user-settings with Atlassian connection
|
|
39
|
+
|
|
40
|
+
- 36e67d2f24: Internal updates to apply more strict checks to throw errors.
|
|
41
|
+
- Updated dependencies
|
|
42
|
+
- @backstage/backend-common@0.9.7
|
|
43
|
+
- @backstage/errors@0.1.3
|
|
44
|
+
- @backstage/catalog-model@0.9.5
|
|
45
|
+
|
|
46
|
+
## 0.4.4
|
|
47
|
+
|
|
48
|
+
### Patch Changes
|
|
49
|
+
|
|
50
|
+
- 0cfeea8f8f: AWS-ALB: update provider to the latest changes described [here](https://backstage.io/docs/auth/identity-resolver).
|
|
51
|
+
|
|
52
|
+
This removes the `ExperimentalIdentityResolver` type in favor of `SignInResolver` and `AuthHandler`.
|
|
53
|
+
The AWS ALB provider can now be configured in the same way as the Google provider in the example.
|
|
54
|
+
|
|
55
|
+
- defae8f579: Added extra configuration parameters for active directory file system identity
|
|
56
|
+
- Updated dependencies
|
|
57
|
+
- @backstage/test-utils@0.1.19
|
|
58
|
+
|
|
3
59
|
## 0.4.3
|
|
4
60
|
|
|
5
61
|
### Patch Changes
|
package/config.d.ts
CHANGED
|
@@ -31,6 +31,32 @@ export interface Config {
|
|
|
31
31
|
secret?: string;
|
|
32
32
|
};
|
|
33
33
|
|
|
34
|
+
/** To control how to store JWK data in auth-backend */
|
|
35
|
+
keyStore?: {
|
|
36
|
+
provider?: 'database' | 'memory' | 'firestore';
|
|
37
|
+
firestore?: {
|
|
38
|
+
/** The host to connect to */
|
|
39
|
+
host?: string;
|
|
40
|
+
/** The port to connect to */
|
|
41
|
+
port?: number;
|
|
42
|
+
/** Whether to use SSL when connecting. */
|
|
43
|
+
ssl?: boolean;
|
|
44
|
+
/** The Google Cloud Project ID */
|
|
45
|
+
projectId?: string;
|
|
46
|
+
/**
|
|
47
|
+
* Local file containing the Service Account credentials.
|
|
48
|
+
* You can omit this value to automatically read from
|
|
49
|
+
* GOOGLE_APPLICATION_CREDENTIALS env which is useful for local
|
|
50
|
+
* development.
|
|
51
|
+
*/
|
|
52
|
+
keyFilename?: string;
|
|
53
|
+
/** The path to use for the collection. Defaults to 'sessions' */
|
|
54
|
+
path?: string;
|
|
55
|
+
/** Timeout used for database operations. Defaults to 10000ms */
|
|
56
|
+
timeout?: number;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
|
|
34
60
|
/**
|
|
35
61
|
* The available auth-provider options and attributes
|
|
36
62
|
*/
|
|
@@ -49,7 +75,10 @@ export interface Config {
|
|
|
49
75
|
logoutUrl?: string;
|
|
50
76
|
issuer: string;
|
|
51
77
|
cert: string;
|
|
78
|
+
audience?: string;
|
|
52
79
|
privateKey?: string;
|
|
80
|
+
authnContext?: string[];
|
|
81
|
+
identifierFormat?: string;
|
|
53
82
|
decryptionPvk?: string;
|
|
54
83
|
signatureAlgorithm?: 'sha256' | 'sha512';
|
|
55
84
|
digestAlgorithm?: string;
|