diff --git a/.env.sample b/.env.sample index c7c89a8..b2577f2 100644 --- a/.env.sample +++ b/.env.sample @@ -7,3 +7,5 @@ LETS_ENCRYPT_ENV=production HOMESERVER=matrix-synapse.example.com SERVER_NAME=mymatrix BRAND=mymatrix + +USE_SSO=false \ No newline at end of file diff --git a/abra.sh b/abra.sh index 39249a3..eda1b06 100644 --- a/abra.sh +++ b/abra.sh @@ -1 +1 @@ -export CONFIG_JSON_VERSION=v3 +export CONFIG_JSON_VERSION=v4 diff --git a/compose.yml b/compose.yml index 1063a50..cdb69b5 100644 --- a/compose.yml +++ b/compose.yml @@ -8,6 +8,7 @@ services: - DOMAIN - HOMESERVER - SERVER_NAME + - USE_SSO=${USE_SSO:-true} networks: - proxy configs: diff --git a/config.json.tmpl b/config.json.tmpl index efd2a9b..c1a136f 100644 --- a/config.json.tmpl +++ b/config.json.tmpl @@ -6,7 +6,7 @@ } }, "sso_redirect_options": { - "immediate": true + "immediate": {{ env "USE_SSO" }} }, "disable_custom_urls": false, "disable_guests": true,