Add raw-endraw around OIDC user

main
Marco von Rosenberg 2 years ago
parent 1196af201b
commit fdf251d574
  1. 8
      matrix-docker-ansible/inventory/host_vars/matrix.cttue.de/vars.yml

@ -47,7 +47,7 @@ matrix_nginx_proxy_x_forwarded_for: '$proxy_add_x_forwarded_for'
# Disable Coturn because it needs SSL certs
# (Clients can, though exposing IP address, use Matrix.org TURN)
matrix_coturn_enabled: true
matrix_coturn_enabled: false
# All containers need to be on the same Docker network as nginx-proxy
matrix_docker_network: 'cttue_web_services'
@ -80,7 +80,7 @@ matrix_synapse_configuration_extension_yaml: |
userinfo_endpoint: "https://auth.cttue.de/auth/realms/cttue/protocol/openid-connect/userinfo"
user_mapping_provider:
config:
localpart_template: "{{ user.preferred_username }}"
display_name_template: "{{ user.name }}"
email_template: "{{ user.email }}"
localpart_template: "{% raw %}{{ user.preferred_username }}{% endraw %}"
display_name_template: "{% raw %}{{ user.name }}{% endraw %}"
email_template: "{% raw %}{{ user.email }}{% endraw %}"

Loading…
Cancel
Save