mirror of
https://github.com/overleaf/toolkit.git
synced 2025-04-19 15:28:06 +02:00
Removed OAuth2 client configuration
Now that the git bridge exclusively uses personal access tokens in ServerPro, it doesn't need to perform a password grant request and therefore doesn't need to have its OAuth client id and secret configured.
This commit is contained in:
parent
fd7891401b
commit
9f5bd17cda
5 changed files with 0 additions and 14 deletions
|
@ -353,14 +353,6 @@ function check_config_files() {
|
|||
else
|
||||
print_point 2 "SHARELATEX_HISTORY_BACKEND: fs"
|
||||
fi
|
||||
|
||||
if [[ ${GIT_BRIDGE_ENABLED:-false} = true ]]; then
|
||||
if [[ -n ${GIT_BRIDGE_OAUTH2_CLIENT_SECRET:-} ]]; then
|
||||
print_point 2 "GIT_BRIDGE_OAUTH2_CLIENT_SECRET: [set here]"
|
||||
else
|
||||
add_warning "GIT_BRIDGE_OAUTH2_CLIENT_SECRET is missing in variables.env"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
GIT_BRIDGE_OAUTH2_CLIENT_ID="overleaf-git-bridge"
|
|
@ -25,9 +25,6 @@ REDIS_DATA_PATH=data/redis
|
|||
REDIS_IMAGE=redis:6.2
|
||||
|
||||
# Git-bridge configuration (Server Pro only)
|
||||
#
|
||||
# If you enable git bridge, you must also set GIT_BRIDGE_OAUTH2_CLIENT_SECRET
|
||||
# in variables.env
|
||||
GIT_BRIDGE_ENABLED=false
|
||||
GIT_BRIDGE_DATA_PATH=data/git-bridge
|
||||
|
||||
|
|
|
@ -20,6 +20,5 @@ services:
|
|||
SHARELATEX_REDIS_HOST: "${REDIS_HOST}"
|
||||
V1_HISTORY_URL: "http://sharelatex:3100/api"
|
||||
env_file:
|
||||
- common.env
|
||||
- ../config/variables.env
|
||||
stop_grace_period: 60s
|
||||
|
|
|
@ -16,7 +16,6 @@ services:
|
|||
GIT_BRIDGE_POSTBACK_BASE_URL: "http://git-bridge:8000"
|
||||
GIT_BRIDGE_ROOT_DIR: "/data/git-bridge"
|
||||
env_file:
|
||||
- common.env
|
||||
- ../config/variables.env
|
||||
user: root
|
||||
command: ["/server-pro-start.sh"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue