diff options
author | Shay <hillerys@element.io> | 2023-08-03 11:43:51 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-03 11:43:51 -0700 |
commit | 0a5f4f766514b84aff84ff17dffd5301a437c797 (patch) | |
tree | a7909bcb2d741ba0fb4d9787ae633d974c64add5 /synapse/config | |
parent | Allow config of the backoff algorithm for the federation client. (#15754) (diff) | |
download | synapse-0a5f4f766514b84aff84ff17dffd5301a437c797.tar.xz |
Move support for application service query parameter authorization behind a configuration option (#16017)
Diffstat (limited to 'synapse/config')
-rw-r--r-- | synapse/config/appservice.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/synapse/config/appservice.py b/synapse/config/appservice.py index c2710fdf04..919f81a9b7 100644 --- a/synapse/config/appservice.py +++ b/synapse/config/appservice.py @@ -43,6 +43,14 @@ class AppServiceConfig(Config): ) self.track_appservice_user_ips = config.get("track_appservice_user_ips", False) + self.use_appservice_legacy_authorization = config.get( + "use_appservice_legacy_authorization", False + ) + if self.use_appservice_legacy_authorization: + logger.warning( + "The use of appservice legacy authorization via query params is deprecated" + " and should be considered insecure." + ) def load_appservices( |