Sfoglia il codice sorgente

Update Synapse worker endpoints

pull/456/head
Slavi Pantaleev 5 anni fa
parent
commit
2f732e4234
1 ha cambiato i file con 14 aggiunte e 10 eliminazioni
  1. +14
    -10
      roles/matrix-synapse/vars/workers.yml

+ 14
- 10
roles/matrix-synapse/vars/workers.yml Vedi File

@@ -51,7 +51,6 @@ matrix_synapse_workers_generic_worker_endpoints:
- ^/_matrix/client/(api/v1|r0|unstable)/joined_groups$ - ^/_matrix/client/(api/v1|r0|unstable)/joined_groups$
- ^/_matrix/client/(api/v1|r0|unstable)/publicised_groups$ - ^/_matrix/client/(api/v1|r0|unstable)/publicised_groups$
- ^/_matrix/client/(api/v1|r0|unstable)/publicised_groups/ - ^/_matrix/client/(api/v1|r0|unstable)/publicised_groups/
- ^/_synapse/client/password_reset/email/submit_token$


# Registration/login requests # Registration/login requests
- ^/_matrix/client/(api/v1|r0|unstable)/login$ - ^/_matrix/client/(api/v1|r0|unstable)/login$
@@ -86,28 +85,33 @@ matrix_synapse_workers_generic_worker_endpoints:
# to use SSO (you only need to include the ones for whichever SSO provider you're # to use SSO (you only need to include the ones for whichever SSO provider you're
# using): # using):


# for all SSO providers
# FIXME: ADDITIONAL CONDITIONS REQUIRED: to be enabled manually
# ^/_matrix/client/(api/v1|r0|unstable)/login/sso/redirect
# ^/_synapse/client/pick_idp$
# ^/_synapse/client/pick_username
# ^/_synapse/client/new_user_consent$
# ^/_synapse/client/sso_register$

# OpenID Connect requests. # OpenID Connect requests.
# FIXME: ADDITIONAL CONDITIONS REQUIRED: to be enabled manually # FIXME: ADDITIONAL CONDITIONS REQUIRED: to be enabled manually
# ^/_matrix/client/(api/v1|r0|unstable)/login/sso/redirect$
# ^/_synapse/oidc/callback$
# ^/_synapse/client/oidc/callback$


# SAML requests. # SAML requests.
# FIXME: ADDITIONAL CONDITIONS REQUIRED: to be enabled manually # FIXME: ADDITIONAL CONDITIONS REQUIRED: to be enabled manually
# ^/_matrix/client/(api/v1|r0|unstable)/login/sso/redirect$
# ^/_matrix/saml2/authn_response$
# ^/_synapse/client/saml2/authn_response$


# CAS requests. # CAS requests.
# FIXME: ADDITIONAL CONDITIONS REQUIRED: to be enabled manually # FIXME: ADDITIONAL CONDITIONS REQUIRED: to be enabled manually
# ^/_matrix/client/(api/v1|r0|unstable)/login/(cas|sso)/redirect$
# ^/_matrix/client/(api/v1|r0|unstable)/login/cas/ticket$ # ^/_matrix/client/(api/v1|r0|unstable)/login/cas/ticket$


# Note that a HTTP listener with `client` and `federation` resources must be
# configured in the `worker_listeners` option in the worker config.

# Ensure that all SSO logins go to a single process (usually the main process).
# Ensure that all SSO logins go to a single process.
# For multiple workers not handling the SSO endpoints properly, see # For multiple workers not handling the SSO endpoints properly, see
# [#7530](https://github.com/matrix-org/synapse/issues/7530). # [#7530](https://github.com/matrix-org/synapse/issues/7530).


# Note that a HTTP listener with `client` and `federation` resources must be
# configured in the `worker_listeners` option in the worker config.

# #### Load balancing # #### Load balancing


# It is possible to run multiple instances of this worker app, with incoming requests # It is possible to run multiple instances of this worker app, with incoming requests


Caricamento…
Annulla
Salva