aboutsummaryrefslogtreecommitdiff
path: root/dendrite-sample.yaml
diff options
context:
space:
mode:
authorTulir Asokan <tulir@maunium.net>2024-02-03 18:56:13 +0100
committerGitHub <noreply@github.com>2024-02-03 18:56:13 +0100
commit0f6b81f4560855d57550452463cc8d8b91de9ff2 (patch)
tree9a4cddf4c6d99977a24a973cffece54cb6cbfb02 /dendrite-sample.yaml
parenta3a18fbcce29c84eb96c3db9c723da951e74ba91 (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 'dendrite-sample.yaml')
-rw-r--r--dendrite-sample.yaml7
1 files changed, 7 insertions, 0 deletions
diff --git a/dendrite-sample.yaml b/dendrite-sample.yaml
index e143a739..8616e120 100644
--- a/dendrite-sample.yaml
+++ b/dendrite-sample.yaml
@@ -154,6 +154,13 @@ app_service_api:
# to be sent to an insecure endpoint.
disable_tls_validation: false
+ # Send the access_token query parameter with appservice requests in addition
+ # to the Authorization header. This can cause hs_tokens to be saved to logs,
+ # so it should not be enabled unless absolutely necessary.
+ legacy_auth: false
+ # Use the legacy unprefixed paths for appservice requests.
+ legacy_paths: false
+
# Appservice configuration files to load into this homeserver.
config_files:
# - /path/to/appservice_registration.yaml