@backstage/plugin-auth-backend 0.4.2 → 0.4.6
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 +61 -0
- package/config.d.ts +28 -0
- package/dist/index.cjs.js +592 -91
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +223 -108
- package/package.json +12 -10
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,66 @@
|
|
|
1
1
|
# @backstage/plugin-auth-backend
|
|
2
2
|
|
|
3
|
+
## 0.4.6
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 3b767f19c9: Allow OAuth state to be encoded by a stateEncoder.
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
- @backstage/test-utils@0.1.20
|
|
10
|
+
- @backstage/config@0.1.11
|
|
11
|
+
- @backstage/errors@0.1.4
|
|
12
|
+
- @backstage/backend-common@0.9.8
|
|
13
|
+
- @backstage/catalog-model@0.9.6
|
|
14
|
+
|
|
15
|
+
## 0.4.5
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- 9322e632e9: Require that audience URLs for Okta authentication start with https
|
|
20
|
+
- de3e26aecc: Fix a bug preventing an access token to be refreshed a second time with the GitHub provider.
|
|
21
|
+
- ab9b4a6ea6: Add Firestore as key-store provider.
|
|
22
|
+
Add `auth.keyStore` section to application config.
|
|
23
|
+
- 202f322927: Atlassian auth provider
|
|
24
|
+
|
|
25
|
+
- AtlassianAuth added to core-app-api
|
|
26
|
+
- Atlassian provider added to plugin-auth-backend
|
|
27
|
+
- Updated user-settings with Atlassian connection
|
|
28
|
+
|
|
29
|
+
- 36e67d2f24: Internal updates to apply more strict checks to throw errors.
|
|
30
|
+
- Updated dependencies
|
|
31
|
+
- @backstage/backend-common@0.9.7
|
|
32
|
+
- @backstage/errors@0.1.3
|
|
33
|
+
- @backstage/catalog-model@0.9.5
|
|
34
|
+
|
|
35
|
+
## 0.4.4
|
|
36
|
+
|
|
37
|
+
### Patch Changes
|
|
38
|
+
|
|
39
|
+
- 0cfeea8f8f: AWS-ALB: update provider to the latest changes described [here](https://backstage.io/docs/auth/identity-resolver).
|
|
40
|
+
|
|
41
|
+
This removes the `ExperimentalIdentityResolver` type in favor of `SignInResolver` and `AuthHandler`.
|
|
42
|
+
The AWS ALB provider can now be configured in the same way as the Google provider in the example.
|
|
43
|
+
|
|
44
|
+
- defae8f579: Added extra configuration parameters for active directory file system identity
|
|
45
|
+
- Updated dependencies
|
|
46
|
+
- @backstage/test-utils@0.1.19
|
|
47
|
+
|
|
48
|
+
## 0.4.3
|
|
49
|
+
|
|
50
|
+
### Patch Changes
|
|
51
|
+
|
|
52
|
+
- 4c3eea7788: Bitbucket Cloud authentication - based on the existing GitHub authentication + changes around BB apis and updated scope.
|
|
53
|
+
|
|
54
|
+
- BitbucketAuth added to core-app-api.
|
|
55
|
+
- Bitbucket provider added to plugin-auth-backend.
|
|
56
|
+
- Cosmetic entry for Bitbucket connection in user-settings Authentication Providers tab.
|
|
57
|
+
|
|
58
|
+
- Updated dependencies
|
|
59
|
+
- @backstage/test-utils@0.1.18
|
|
60
|
+
- @backstage/catalog-model@0.9.4
|
|
61
|
+
- @backstage/backend-common@0.9.6
|
|
62
|
+
- @backstage/catalog-client@0.5.0
|
|
63
|
+
|
|
3
64
|
## 0.4.2
|
|
4
65
|
|
|
5
66
|
### 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
|
*/
|
|
@@ -50,6 +76,8 @@ export interface Config {
|
|
|
50
76
|
issuer: string;
|
|
51
77
|
cert: string;
|
|
52
78
|
privateKey?: string;
|
|
79
|
+
authnContext?: string[];
|
|
80
|
+
identifierFormat?: string;
|
|
53
81
|
decryptionPvk?: string;
|
|
54
82
|
signatureAlgorithm?: 'sha256' | 'sha512';
|
|
55
83
|
digestAlgorithm?: string;
|