mas: acced msc3861 config example to the dendrite-sample.yaml

This commit is contained in:
Roman Isaev 2025-01-07 01:18:39 +00:00
parent 811a504e01
commit 17576cc6d2
No known key found for this signature in database
GPG key ID: 7BE2B6A6C89AEC7F

View file

@ -285,8 +285,29 @@ media_api:
# Configuration for enabling experimental MSCs on this homeserver.
mscs:
mscs:
# - msc3861 # (Next-gen auth, see https://github.com/matrix-org/matrix-doc/pull/3861. MUST always go first in the list)
# - msc2836 # (Threading, see https://github.com/matrix-org/matrix-doc/pull/2836)
# This block has no effect if the feature is not activated in the list above
# msc3861:
# enabled: true
# # OIDC issuer advertised by the service.
# # See https://element-hq.github.io/matrix-authentication-service/reference/configuration.html#http
# issuer: "https://mas.example.com/"
# # Credentials used for authenticating requests coming from dendrite to auth service.
# # See https://element-hq.github.io/matrix-authentication-service/reference/configuration.html#clients
# client_id: 01JFNM9MCHKV6A7A0C0RBHMYC0
# client_secret: c85731184ac8f9aea76cf48146046b454473ca667a0cd1fd52a43034a0662eed
# # The service token used for authenticating requests coming from auth service to dendrite.
# # See https://element-hq.github.io/matrix-authentication-service/reference/configuration.html#matrix
# admin_token: ttJORW9oV4Wf4DJ63GdZEYekE2KElP4g
# # URL of the account page on the auth service side
# account_management_url: "https://mas.example.com/account"
# Configuration for the Sync API.
sync_api:
# This option controls which HTTP header to inspect to find the real remote IP