mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-24 17:31:52 +00:00
[MNT-22836] - support of pkce o auth grant type by aims (#3422)
* [MNT-22836] - support PKCE code flow in SSO
This commit is contained in:
@@ -50,6 +50,13 @@ if [ -n "${APP_CONFIG_OAUTH2_IMPLICIT_FLOW}" ]; then
|
||||
-i "$APP_CONFIG_FILE"
|
||||
fi
|
||||
|
||||
if [ -n "${APP_CONFIG_OAUTH2_CODE_FLOW}" ]; then
|
||||
echo "SET APP_CONFIG_OAUTH2_CODE_FLOW"
|
||||
|
||||
sed -e "s/\"codeFlow\": [^,]*/\"codeFlow\": ${APP_CONFIG_OAUTH2_CODE_FLOW}/g" \
|
||||
-i "$APP_CONFIG_FILE"
|
||||
fi
|
||||
|
||||
if [ -n "${APP_CONFIG_OAUTH2_SILENT_LOGIN}" ]; then
|
||||
echo "SET APP_CONFIG_OAUTH2_SILENT_LOGIN"
|
||||
|
||||
|
Reference in New Issue
Block a user