@red-hat-developer-hub/e2e-test-utils 2.1.9 → 2.1.10
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/dist/deployment/rhdh/config/auth/github/dynamic-plugins.yaml +12 -0
- package/dist/deployment/rhdh/config/auth/guest/dynamic-plugins.yaml +9 -0
- package/dist/deployment/rhdh/config/auth/keycloak/dynamic-plugins.yaml +29 -1
- package/dist/deployment/rhdh/constants.d.ts.map +1 -1
- package/dist/deployment/rhdh/constants.js +2 -2
- package/package.json +1 -1
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
plugins:
|
|
2
|
+
# TODO: switch to oci://quay.io/rhdh/backstage-plugin-auth-backend-module-github-provider:{{inherit}} once published on quay
|
|
3
|
+
- package: oci://ghcr.io/redhat-developer/rhdh-plugin-export-overlays/backstage-plugin-auth-backend-module-github-provider:bs_1.52.0__0.5.4
|
|
4
|
+
disabled: false
|
|
5
|
+
pluginConfig:
|
|
6
|
+
auth:
|
|
7
|
+
providers:
|
|
8
|
+
github:
|
|
9
|
+
production:
|
|
10
|
+
clientId: ${GITHUB_OAUTH_APP_ID}
|
|
11
|
+
clientSecret: ${GITHUB_OAUTH_APP_SECRET}
|
|
12
|
+
callbackUrl: ${RHDH_BASE_URL}/api/auth/github/handler/frame
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
plugins:
|
|
2
|
+
# TODO: switch to oci://quay.io/rhdh/backstage-plugin-auth-backend-module-guest-provider:{{inherit}} once published on quay
|
|
3
|
+
- package: oci://ghcr.io/redhat-developer/rhdh-plugin-export-overlays/backstage-plugin-auth-backend-module-guest-provider:bs_1.52.0__0.2.20
|
|
4
|
+
disabled: false
|
|
5
|
+
pluginConfig:
|
|
6
|
+
auth:
|
|
7
|
+
providers:
|
|
8
|
+
guest:
|
|
9
|
+
dangerouslyAllowOutsideDevelopment: true
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
+
# catalog-backend-module-keycloak and oidc-provider are disabled in default.packages.yaml,
|
|
2
|
+
# so {{inherit}} fails at install. Use explicit overlays tags until these images are on quay.io/rhdh.
|
|
1
3
|
plugins:
|
|
2
|
-
|
|
4
|
+
# TODO: switch to oci://quay.io/rhdh/backstage-community-plugin-catalog-backend-module-keycloak:{{inherit}} once published on quay
|
|
5
|
+
- package: oci://ghcr.io/redhat-developer/rhdh-plugin-export-overlays/backstage-community-plugin-catalog-backend-module-keycloak:bs_1.49.4__3.19.2
|
|
3
6
|
disabled: false
|
|
4
7
|
pluginConfig:
|
|
5
8
|
catalog:
|
|
@@ -18,3 +21,28 @@ plugins:
|
|
|
18
21
|
seconds: 15
|
|
19
22
|
timeout:
|
|
20
23
|
minutes: 1
|
|
24
|
+
# TODO: switch to oci://quay.io/rhdh/backstage-plugin-auth-backend-module-oidc-provider:{{inherit}} once published on quay
|
|
25
|
+
- package: oci://ghcr.io/redhat-developer/rhdh-plugin-export-overlays/backstage-plugin-auth-backend-module-oidc-provider:bs_1.52.0__0.4.17
|
|
26
|
+
disabled: false
|
|
27
|
+
pluginConfig:
|
|
28
|
+
auth:
|
|
29
|
+
providers:
|
|
30
|
+
oidc:
|
|
31
|
+
production:
|
|
32
|
+
metadataUrl: ${KEYCLOAK_METADATA_URL}
|
|
33
|
+
clientId: ${KEYCLOAK_CLIENT_ID}
|
|
34
|
+
clientSecret: ${KEYCLOAK_CLIENT_SECRET}
|
|
35
|
+
prompt: auto
|
|
36
|
+
callbackUrl: ${RHDH_BASE_URL}/api/auth/oidc/handler/frame
|
|
37
|
+
signIn:
|
|
38
|
+
resolvers:
|
|
39
|
+
- resolver: emailLocalPartMatchingUserEntityName
|
|
40
|
+
# Workspaces using auth: "keycloak" may still call loginAsGuest() (e.g. topology RBAC).
|
|
41
|
+
# TODO: switch to oci://quay.io/rhdh/backstage-plugin-auth-backend-module-guest-provider:{{inherit}} once published on quay
|
|
42
|
+
- package: oci://ghcr.io/redhat-developer/rhdh-plugin-export-overlays/backstage-plugin-auth-backend-module-guest-provider:bs_1.52.0__0.2.20
|
|
43
|
+
disabled: false
|
|
44
|
+
pluginConfig:
|
|
45
|
+
auth:
|
|
46
|
+
providers:
|
|
47
|
+
guest:
|
|
48
|
+
dangerouslyAllowOutsideDevelopment: true
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/deployment/rhdh/constants.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAC/C,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAK1D,eAAO,MAAM,oBAAoB;;;;IAa/B,6JAA6J;;;;;;;;;;;;CA2B9J,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,MAAM,CACpC,YAAY,EACZ;IACE,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,cAAc,EAAE,MAAM,CAAC;IACvB,aAAa,CAAC,EAAE,YAAY,CAAC;CAC9B,
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/deployment/rhdh/constants.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAC/C,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAK1D,eAAO,MAAM,oBAAoB;;;;IAa/B,6JAA6J;;;;;;;;;;;;CA2B9J,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,MAAM,CACpC,YAAY,EACZ;IACE,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,cAAc,EAAE,MAAM,CAAC;IACvB,aAAa,CAAC,EAAE,YAAY,CAAC;CAC9B,CA0CF,CAAC;AAEF,eAAO,MAAM,SAAS,6BAA6B,CAAC"}
|
|
@@ -22,7 +22,7 @@ export const AUTH_CONFIG_PATHS = {
|
|
|
22
22
|
guest: {
|
|
23
23
|
appConfig: path.join(PACKAGE_ROOT, "dist/deployment/rhdh/config/auth/guest/app-config.yaml"),
|
|
24
24
|
secrets: "",
|
|
25
|
-
dynamicPlugins: "",
|
|
25
|
+
dynamicPlugins: path.join(PACKAGE_ROOT, "dist/deployment/rhdh/config/auth/guest/dynamic-plugins.yaml"),
|
|
26
26
|
},
|
|
27
27
|
keycloak: {
|
|
28
28
|
appConfig: path.join(PACKAGE_ROOT, "dist/deployment/rhdh/config/auth/keycloak/app-config.yaml"),
|
|
@@ -32,7 +32,7 @@ export const AUTH_CONFIG_PATHS = {
|
|
|
32
32
|
github: {
|
|
33
33
|
appConfig: path.join(PACKAGE_ROOT, "dist/deployment/rhdh/config/auth/github/app-config.yaml"),
|
|
34
34
|
secrets: path.join(PACKAGE_ROOT, "dist/deployment/rhdh/config/auth/github/secrets.yaml"),
|
|
35
|
-
dynamicPlugins: "",
|
|
35
|
+
dynamicPlugins: path.join(PACKAGE_ROOT, "dist/deployment/rhdh/config/auth/github/dynamic-plugins.yaml"),
|
|
36
36
|
mergeStrategy: { arrayMergeStrategy: { byKey: "target" } },
|
|
37
37
|
},
|
|
38
38
|
};
|