diff --git a/roles/redmine/templates/redmine/config/initializers/saml.rb.j2 b/roles/redmine/templates/redmine/config/initializers/saml.rb.j2 index be92cca..4623e03 100644 --- a/roles/redmine/templates/redmine/config/initializers/saml.rb.j2 +++ b/roles/redmine/templates/redmine/config/initializers/saml.rb.j2 @@ -13,7 +13,7 @@ require Rails.root.join('plugins/redmine_saml/lib/redmine_saml/base') {% endif %} {% endif %} {% if saml_idp_cert != '' %} - idp_cert: "{{ saml_idp_cert }}", + idp_cert: "{{ saml_idp_cert | replace('\n', '\\n') }}", {% endif %} {% if saml_idp_slo_service_url != '' %} idp_slo_service_url: '{{ saml_idp_slo_service_url }}',