@backstage/plugin-auth-backend-module-gcp-iap-provider 0.2.18-next.3 → 0.2.18
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 -0
- package/config.d.ts +16 -18
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @backstage/plugin-auth-backend-module-gcp-iap-provider
|
|
2
2
|
|
|
3
|
+
## 0.2.18
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- c8f1cae: Add `signIn` to authentication provider configuration schema
|
|
8
|
+
- 13a9c63: Corrected the documentation for the GCP IAP auth module and updated the configuration to follow proxy configuration conventions by ignoring authEnv
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
- @backstage/backend-plugin-api@0.8.0
|
|
11
|
+
- @backstage/plugin-auth-node@0.5.0
|
|
12
|
+
- @backstage/errors@1.2.4
|
|
13
|
+
- @backstage/types@1.1.1
|
|
14
|
+
|
|
3
15
|
## 0.2.18-next.3
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/config.d.ts
CHANGED
|
@@ -21,26 +21,24 @@ export interface Config {
|
|
|
21
21
|
* Configuration for the Google Cloud Platform Identity-Aware Proxy (IAP) auth provider.
|
|
22
22
|
*/
|
|
23
23
|
gcpIap?: {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
audience: string;
|
|
24
|
+
/**
|
|
25
|
+
* The audience to use when validating incoming JWT tokens.
|
|
26
|
+
* See https://backstage.io/docs/auth/google/gcp-iap-auth
|
|
27
|
+
*/
|
|
28
|
+
audience: string;
|
|
30
29
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
30
|
+
/**
|
|
31
|
+
* The name of the header to read the JWT token from, defaults to `'x-goog-iap-jwt-assertion'`.
|
|
32
|
+
*/
|
|
33
|
+
jwtHeader?: string;
|
|
35
34
|
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
};
|
|
35
|
+
signIn?: {
|
|
36
|
+
resolvers: Array<
|
|
37
|
+
| { resolver: 'emailMatchingUserEntityAnnotation' }
|
|
38
|
+
| { resolver: 'idMatchingUserEntityAnnotation' }
|
|
39
|
+
| { resolver: 'emailLocalPartMatchingUserEntityName' }
|
|
40
|
+
| { resolver: 'emailMatchingUserEntityProfileEmail' }
|
|
41
|
+
>;
|
|
44
42
|
};
|
|
45
43
|
};
|
|
46
44
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage/plugin-auth-backend-module-gcp-iap-provider",
|
|
3
|
-
"version": "0.2.18
|
|
3
|
+
"version": "0.2.18",
|
|
4
4
|
"description": "A GCP IAP auth provider module for the Backstage auth backend",
|
|
5
5
|
"backstage": {
|
|
6
6
|
"role": "backend-plugin-module",
|
|
@@ -38,15 +38,15 @@
|
|
|
38
38
|
"test": "backstage-cli package test"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@backstage/backend-plugin-api": "^0.8.0
|
|
41
|
+
"@backstage/backend-plugin-api": "^0.8.0",
|
|
42
42
|
"@backstage/errors": "^1.2.4",
|
|
43
|
-
"@backstage/plugin-auth-node": "^0.5.0
|
|
43
|
+
"@backstage/plugin-auth-node": "^0.5.0",
|
|
44
44
|
"@backstage/types": "^1.1.1",
|
|
45
45
|
"google-auth-library": "^9.0.0"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
|
-
"@backstage/backend-test-utils": "^0.
|
|
49
|
-
"@backstage/cli": "^0.27.0
|
|
48
|
+
"@backstage/backend-test-utils": "^0.5.0",
|
|
49
|
+
"@backstage/cli": "^0.27.0",
|
|
50
50
|
"express": "^4.18.2"
|
|
51
51
|
},
|
|
52
52
|
"configSchema": "config.d.ts"
|