mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2026-09-09 18:02:54 +00:00
[ACS-10592] Remove 'secret' field from OAUTH config across ADF/ACA/ADW (#4894)
This commit is contained in:
@@ -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"
|
||||
|
||||
|
||||
@@ -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` |
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user