Преглед изворни кода

fix(mas): Don't fail if OpenID connect is setup in synapse while upgrading to MAS

pull/5099/head
Jean-Benoît Grimaldi пре 4 дана
committed by Slavi Pantaleev
родитељ
комит
e5804c4203
2 измењених фајлова са 2 додато и 2 уклоњено
  1. +1
    -1
      roles/custom/matrix-synapse/tasks/validate_config.yml
  2. +1
    -1
      roles/custom/matrix-synapse/templates/synapse/homeserver.yaml.j2

+ 1
- 1
roles/custom/matrix-synapse/tasks/validate_config.yml Прегледај датотеку

@@ -210,7 +210,7 @@
- name: Fail if OpenID Connect is enabled for Synapse when auth is delegated to Matrix Authentication Service
ansible.builtin.fail:
msg: "When Synapse is delegating authentication to Matrix Authentication Service (`matrix_synapse_matrix_authentication_service_enabled: true`), it doesn't make sense to enable OpenID Connect (`matrix_synapse_oidc_enabled: true`), because it is not Synapse that is handling authentication. Synapse will refuse to start otherwise."
when: matrix_synapse_matrix_authentication_service_enabled and matrix_synapse_oidc_enabled
when: matrix_synapse_matrix_authentication_service_enabled and matrix_synapse_oidc_enabled and not matrix_authentication_service_migration_in_progress

- name: Fail if CAS config is enabled for Synapse when auth is delegated to Matrix Authentication Service
ansible.builtin.fail:


+ 1
- 1
roles/custom/matrix-synapse/templates/synapse/homeserver.yaml.j2 Прегледај датотеку

@@ -2987,7 +2987,7 @@ background_updates:
#default_batch_size: 50


{% if matrix_synapse_matrix_authentication_service_enabled %}
{% if matrix_synapse_matrix_authentication_service_enabled and not matrix_authentication_service_migration_in_progress %}
matrix_authentication_service:
enabled: true
endpoint: {{ matrix_synapse_matrix_authentication_service_endpoint | to_json }}


Loading…
Откажи
Сачувај