[ACS-10592] Remove 'secret' field from OAUTH config across ADF/ACA/ADW (#4894)

This commit is contained in:
dominikiwanekhyland
2025-11-14 09:18:52 +01:00
committed by GitHub
parent 8dcb7c3b6f
commit 135b492fef
5 changed files with 0 additions and 11 deletions
-1
View File
@@ -21,7 +21,6 @@
"host": "{protocol}//{hostname}{:port}/auth/realms/alfresco",
"clientId": "alfresco",
"scope": "openid",
"secret": "",
"implicitFlow": false,
"codeFlow": true,
"silentLogin": true,
@@ -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"
-1
View File
@@ -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` |
-1
View File
@@ -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,
-1
View File
@@ -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,