diff --git a/modules/saml/lib/Auth/Source/SP.php b/modules/saml/lib/Auth/Source/SP.php
index 4424b9c666b59b10e91ed25bb8f2a0d8f57b802c..867bf732782cb53dffb9c7ec0d3812d8a320d675 100644
--- a/modules/saml/lib/Auth/Source/SP.php
+++ b/modules/saml/lib/Auth/Source/SP.php
@@ -197,7 +197,7 @@ class SP extends \SimpleSAML\Auth\Source
         if ($email && $email !== 'na@example.org') {
             $contact = [
                 'emailAddress' => $email,
-                'name' => $globalConfig->getString('technicalcontact_name', null),
+                'givenName' => $globalConfig->getString('technicalcontact_name', null),
                 'contactType' => 'technical',
             ];
             $metadata['contacts'][] = Utils\Config\Metadata::getContact($contact);
diff --git a/modules/saml/lib/IdP/SAML2.php b/modules/saml/lib/IdP/SAML2.php
index c1c6f507d470c94b8e4c8cfe9a2a378ee026b787..3b9394318b206e5365311879db95b363ea716848 100644
--- a/modules/saml/lib/IdP/SAML2.php
+++ b/modules/saml/lib/IdP/SAML2.php
@@ -917,7 +917,7 @@ class SAML2
         if ($email && $email !== 'na@example.org') {
             $contact = [
                 'emailAddress' => $email,
-                'name' => $globalConfig->getString('technicalcontact_name', null),
+                'givenName' => $globalConfig->getString('technicalcontact_name', null),
                 'contactType' => 'technical',
             ];
             $metadata['contacts'][] = Utils\Config\Metadata::getContact($contact);