@backstage/plugin-auth-backend-module-gcp-iap-provider 0.2.18-next.3 → 0.2.19

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.
Files changed (3) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/config.d.ts +16 -18
  3. package/package.json +5 -5
package/CHANGELOG.md CHANGED
@@ -1,5 +1,25 @@
1
1
  # @backstage/plugin-auth-backend-module-gcp-iap-provider
2
2
 
3
+ ## 0.2.19
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+ - @backstage/plugin-auth-node@0.5.1
9
+ - @backstage/backend-plugin-api@0.8.1
10
+
11
+ ## 0.2.18
12
+
13
+ ### Patch Changes
14
+
15
+ - c8f1cae: Add `signIn` to authentication provider configuration schema
16
+ - 13a9c63: Corrected the documentation for the GCP IAP auth module and updated the configuration to follow proxy configuration conventions by ignoring authEnv
17
+ - Updated dependencies
18
+ - @backstage/backend-plugin-api@0.8.0
19
+ - @backstage/plugin-auth-node@0.5.0
20
+ - @backstage/errors@1.2.4
21
+ - @backstage/types@1.1.1
22
+
3
23
  ## 0.2.18-next.3
4
24
 
5
25
  ### 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
- [authEnv: string]: {
25
- /**
26
- * The audience to use when validating incoming JWT tokens.
27
- * See https://backstage.io/docs/auth/google/gcp-iap-auth
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
- * The name of the header to read the JWT token from, defaults to `'x-goog-iap-jwt-assertion'`.
33
- */
34
- jwtHeader?: string;
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
- signIn?: {
37
- resolvers: Array<
38
- | { resolver: 'emailMatchingUserEntityAnnotation' }
39
- | { resolver: 'idMatchingUserEntityAnnotation' }
40
- | { resolver: 'emailLocalPartMatchingUserEntityName' }
41
- | { resolver: 'emailMatchingUserEntityProfileEmail' }
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-next.3",
3
+ "version": "0.2.19",
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-next.3",
41
+ "@backstage/backend-plugin-api": "^0.8.1",
42
42
  "@backstage/errors": "^1.2.4",
43
- "@backstage/plugin-auth-node": "^0.5.0-next.3",
43
+ "@backstage/plugin-auth-node": "^0.5.1",
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.4.5-next.3",
49
- "@backstage/cli": "^0.27.0-next.4",
48
+ "@backstage/backend-test-utils": "^0.5.1",
49
+ "@backstage/cli": "^0.27.0",
50
50
  "express": "^4.18.2"
51
51
  },
52
52
  "configSchema": "config.d.ts"