From e3c9d6d5314cc0e0063499ba8ec19aa4cb1e498c Mon Sep 17 00:00:00 2001 From: Timo Bejan Date: Tue, 9 Nov 2021 11:53:41 +0200 Subject: [PATCH] handling for RED-2651 --- .gitignore | 1 + angular.json | 3 +++ apps/red-ui/src/app/modules/auth/auth.module.ts | 4 +--- apps/red-ui/src/assets/config/config.json | 4 ++-- libs/common-ui | 2 +- 5 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index a920879bb..7bfea35e2 100644 --- a/.gitignore +++ b/.gitignore @@ -45,3 +45,4 @@ version.properties paligo-styles/style.css* migrations.json +*.iml diff --git a/angular.json b/angular.json index 74f43eddd..e025a6a56 100644 --- a/angular.json +++ b/angular.json @@ -1,4 +1,7 @@ { + "cli": { + "analytics": "d22ff5ae-c863-4253-83e3-0a969e4bb5fe" + }, "version": 1, "projects": { "common-ui": { diff --git a/apps/red-ui/src/app/modules/auth/auth.module.ts b/apps/red-ui/src/app/modules/auth/auth.module.ts index b4bbe3a24..ed11c73dc 100644 --- a/apps/red-ui/src/app/modules/auth/auth.module.ts +++ b/apps/red-ui/src/app/modules/auth/auth.module.ts @@ -21,9 +21,7 @@ function getKeycloakOptions(configService: ConfigService, baseUrl: string) { initOptions: { checkLoginIframe: false, onLoad: 'check-sso', - silentCheckSsoRedirectUri: environment.production - ? window.location.origin + baseUrl + '/assets/oauth/silent-refresh.html' - : null, + silentCheckSsoRedirectUri: window.location.origin + baseUrl + '/assets/oauth/silent-refresh.html', flow: 'standard', }, enableBearerInterceptor: true, diff --git a/apps/red-ui/src/assets/config/config.json b/apps/red-ui/src/assets/config/config.json index 4b4441fbb..d74a338e0 100644 --- a/apps/red-ui/src/assets/config/config.json +++ b/apps/red-ui/src/assets/config/config.json @@ -1,7 +1,7 @@ { "ADMIN_CONTACT_NAME": null, "ADMIN_CONTACT_URL": null, - "API_URL": "https://dev-06.iqser.cloud/redaction-gateway-v1", + "API_URL": "https://qa3.iqser.cloud/redaction-gateway-v1", "APP_NAME": "RedactManager", "AUTO_READ_TIME": 1.5, "BACKEND_APP_VERSION": "4.4.40", @@ -17,7 +17,7 @@ "MAX_RETRIES_ON_SERVER_ERROR": 3, "OAUTH_CLIENT_ID": "redaction", "OAUTH_IDP_HINT": null, - "OAUTH_URL": "https://dev-06.iqser.cloud/auth/realms/redaction", + "OAUTH_URL": "https://qa3.iqser.cloud/auth/realms/redaction", "RECENT_PERIOD_IN_HOURS": 24, "SELECTION_MODE": "structural" } diff --git a/libs/common-ui b/libs/common-ui index 712178ea3..a81e22c08 160000 --- a/libs/common-ui +++ b/libs/common-ui @@ -1 +1 @@ -Subproject commit 712178ea34c998098cd2c079a0be1dd863dd266e +Subproject commit a81e22c083fb82bdf21713fb6f8e5adfd9b0638e