mirror of
https://github.com/vector-im/element-call.git
synced 2026-10-16 23:45:50 +00:00
The specs replace the transports the e2e homeserver advertises with each shape a migrating deployment may produce and record which token endpoints each side used: a url-only or combined transport on both sides goes through the CS API alone, a legacy guest joining a url host uses the legacy endpoint to publish and the CS API to subscribe, a subscriber falls back to the JWT service when the homeserver lacks MSC4195, a publisher gets an error instead, a delayed leave delegated through the CS API fires on disconnect, and subscribers get tokens for a remote homeserver's SFU over federation. The JWT service's app service registration has to cover users of the e2e Synapse's real server name for the get_token flow, and lk-jwt-service 0.8.0 implements the endpoints.
18 lines
731 B
YAML
18 lines
731 B
YAML
id: "lk-jwt-service-othersite"
|
|
as_token: "ec_dev_as_token_othersite_0123456789ab"
|
|
hs_token: "ec_dev_hs_token_othersite_0123456789ab"
|
|
sender_localpart: "_lk_jwt_service"
|
|
namespaces:
|
|
users:
|
|
- exclusive: false
|
|
regex: "@.*:synapse\\.othersite\\.m\\.localhost" # Cover all local users
|
|
# Required for Synapse to call POST /_matrix/app/v1/ping on this service.
|
|
url: "http://auth-server-1:16080"
|
|
# Enable membership look-ups via /is_joined.
|
|
io.element.msc4502.scopes:
|
|
["urn:matrix:client:io.element.msc4502:rooms:is_joined"]
|
|
# Route /_matrix/client/(v*|unstable/*)/rtc/livekit/* C-S and S-S requests to this
|
|
# service.
|
|
io.element.msc4512.proxy_prefix: "rtc/livekit"
|
|
io.element.msc4512.proxy_url: "http://auth-server-1:16080"
|