diff options
author | Tulir Asokan <tulir@maunium.net> | 2024-02-03 18:56:13 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-03 18:56:13 +0100 |
commit | 0f6b81f4560855d57550452463cc8d8b91de9ff2 (patch) | |
tree | 9a4cddf4c6d99977a24a973cffece54cb6cbfb02 /setup | |
parent | a3a18fbcce29c84eb96c3db9c723da951e74ba91 (diff) |
Modernize appservice paths and authentication (#3316)
This brings Dendrite's appservice spec support up to v1.4, from the
previous level of pre-release-spec support only (even r0.1.0 wasn't
supported for pushing transactions 🙃). There are config options to
revert to the old behavior, but the default is v1.4+ only. [Synapse also
does
that](https://element-hq.github.io/synapse/latest/usage/configuration/config_documentation.html#use_appservice_legacy_authorization)
mautrix bridges will drop support for legacy paths and authentication
soon (and possibly also require matrix v1.4 to be advertised, but I
might add some workaround to not require that for dendrite)
Signed-off-by: Tulir Asokan <tulir@maunium.net>
Diffstat (limited to 'setup')
-rw-r--r-- | setup/config/config_appservice.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/setup/config/config_appservice.go b/setup/config/config_appservice.go index ef10649d..a95cec04 100644 --- a/setup/config/config_appservice.go +++ b/setup/config/config_appservice.go @@ -40,6 +40,9 @@ type AppServiceAPI struct { // on appservice endpoints. This is not recommended in production! DisableTLSValidation bool `yaml:"disable_tls_validation"` + LegacyAuth bool `yaml:"legacy_auth"` + LegacyPaths bool `yaml:"legacy_paths"` + ConfigFiles []string `yaml:"config_files"` } |