From 135b492fef5b6447b93476fb1a8b49232426e5cb Mon Sep 17 00:00:00 2001 From: dominikiwanekhyland <141320833+dominikiwanekhyland@users.noreply.github.com> Date: Fri, 14 Nov 2025 09:18:52 +0100 Subject: [PATCH] [ACS-10592] Remove 'secret' field from OAUTH config across ADF/ACA/ADW (#4894) --- app/src/app.config.json | 1 - docker/docker-entrypoint.d/30-sed-on-appconfig.sh | 7 ------- docs/getting-started/docker.md | 1 - docs/getting-started/sso.md | 1 - docs/ja/getting-started/sso.md | 1 - 5 files changed, 11 deletions(-) diff --git a/app/src/app.config.json b/app/src/app.config.json index 02694228b..fa4ad67ba 100644 --- a/app/src/app.config.json +++ b/app/src/app.config.json @@ -21,7 +21,6 @@ "host": "{protocol}//{hostname}{:port}/auth/realms/alfresco", "clientId": "alfresco", "scope": "openid", - "secret": "", "implicitFlow": false, "codeFlow": true, "silentLogin": true, diff --git a/docker/docker-entrypoint.d/30-sed-on-appconfig.sh b/docker/docker-entrypoint.d/30-sed-on-appconfig.sh index 0d533143a..c1e5bc79c 100755 --- a/docker/docker-entrypoint.d/30-sed-on-appconfig.sh +++ b/docker/docker-entrypoint.d/30-sed-on-appconfig.sh @@ -43,13 +43,6 @@ if [ -n "${APP_CONFIG_OAUTH2_CLIENTID}" ]; then -i "$APP_CONFIG_FILE" fi -if [ -n "${APP_CONFIG_OAUTH2_CLIENT_SECRET}" ]; then - echo "SET APP_CONFIG_OAUTH2_CLIENT_SECRET" - - sed -e "s/\"secret\": \".*\"/\"secret\": \"${APP_CONFIG_OAUTH2_CLIENT_SECRET}\"/g" \ - -i "$APP_CONFIG_FILE" -fi - if [ -n "${APP_CONFIG_OAUTH2_IMPLICIT_FLOW}" ]; then echo "SET APP_CONFIG_OAUTH2_IMPLICIT_FLOW" diff --git a/docs/getting-started/docker.md b/docs/getting-started/docker.md index f12b14638..63cbd4836 100644 --- a/docs/getting-started/docker.md +++ b/docs/getting-started/docker.md @@ -73,7 +73,6 @@ docker run --rm -it \ | APP_BASE_SHARE_URL | `baseShareUrl` | | APP_CONFIG_OAUTH2_HOST | `oauth2.host` | | APP_CONFIG_OAUTH2_CLIENTID | `oauth2.clientId` | -| APP_CONFIG_OAUTH2_CLIENT_SECRET | `oauth2.secret` | | APP_CONFIG_OAUTH2_IMPLICIT_FLOW | `oauth2.implicitFlow` | | APP_CONFIG_OAUTH2_CODE_FLOW | `oauth2.codeFlow` | | APP_CONFIG_OAUTH2_SILENT_LOGIN | `oauth2.silentLogin` | diff --git a/docs/getting-started/sso.md b/docs/getting-started/sso.md index db8b2bb6f..0f6364be1 100644 --- a/docs/getting-started/sso.md +++ b/docs/getting-started/sso.md @@ -21,7 +21,6 @@ You can find the settings in the `app.config.json` file, and they look similar t "host": "http://localhost:4200/auth/realms/alfresco", "clientId": "alfresco", "scope": "openid", - "secret": "", "implicitFlow": false, "codeFlow": true, "silentLogin": true, diff --git a/docs/ja/getting-started/sso.md b/docs/ja/getting-started/sso.md index 808477c8a..648b3c3f2 100644 --- a/docs/ja/getting-started/sso.md +++ b/docs/ja/getting-started/sso.md @@ -22,7 +22,6 @@ Basic 認証に加えて、Content Application を以下で使用できます: "host": "http://localhost:4200/auth/realms/alfresco", "clientId": "alfresco", "scope": "openid", - "secret": "", "implicitFlow": false, "codeFlow": true, "silentLogin": true,