diff options
author | Quentin Gliech <quenting@element.io> | 2024-07-08 14:08:11 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-08 14:08:11 +0200 |
commit | c896030f679ad4987df015970a0c55aa4ffe8466 (patch) | |
tree | 5c2321fa8e2eb0a2c591b66b5c62492cdf963c6c /synapse/config/experimental.py | |
parent | Bump certifi from 2023.7.22 to 2024.7.4 (#17404) (diff) | |
download | synapse-c896030f679ad4987df015970a0c55aa4ffe8466.tar.xz |
MSC3861: allow overriding the introspection endpoint (#17406)
This makes it easier to go through an internal endpoint instead of the public facing URL when introspecting tokens, reducing latency.
Diffstat (limited to 'synapse/config/experimental.py')
-rw-r--r-- | synapse/config/experimental.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/synapse/config/experimental.py b/synapse/config/experimental.py index c21b7eb37e..bae9cc8047 100644 --- a/synapse/config/experimental.py +++ b/synapse/config/experimental.py @@ -140,6 +140,12 @@ class MSC3861: ("experimental", "msc3861", "client_auth_method"), ) + introspection_endpoint: Optional[str] = attr.ib( + default=None, + validator=attr.validators.optional(attr.validators.instance_of(str)), + ) + """The URL of the introspection endpoint used to validate access tokens.""" + account_management_url: Optional[str] = attr.ib( default=None, validator=attr.validators.optional(attr.validators.instance_of(str)), |