From e8b4b53e45d8e0b77265c936aa3d9f93140335e1 Mon Sep 17 00:00:00 2001
From: Maximilian Moser <maximilian.moser@tuwien.ac.at>
Date: Thu, 4 Apr 2024 14:36:05 +0200
Subject: [PATCH] Add REFEDS extension attribute to security contact

* according to: https://github.com/IdentityPython/pysaml2/issues/956
---
 config/saml2-backend.yaml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/config/saml2-backend.yaml b/config/saml2-backend.yaml
index 432ff34..e134efa 100644
--- a/config/saml2-backend.yaml
+++ b/config/saml2-backend.yaml
@@ -52,6 +52,9 @@ config:
       - contact_type: "other"
         email_address: "mailto:tudata@tuwien.ac.at"
         given_name: "Security Contact"
+        extension_attributes:
+          "xmlns:remd": "http://refeds.org/metadata"
+          "remd:contactType": "http://refeds.org/metadata/contactType/security"
 
     # we don't go around collecting the SAML metadata from every IDP individually, but rather get them
     # from the centrally managed ACOnet endpoint (and we refresh it every 12h with that cryptic string)
-- 
GitLab