diff --git a/lib/SimpleSAML/XML/Shib13/AuthnResponse.php b/lib/SimpleSAML/XML/Shib13/AuthnResponse.php
index de3e99eabb9507ad4a4fc591c8c472ec61296ea7..7bbbe0bf92098c37ef9f7ce864be1c63d3658521 100644
--- a/lib/SimpleSAML/XML/Shib13/AuthnResponse.php
+++ b/lib/SimpleSAML/XML/Shib13/AuthnResponse.php
@@ -273,7 +273,7 @@ class AuthnResponse
         $nodelist = $this->doXPathQuery($query);
 
         if ($attr = $nodelist->item(0)) {
-            return $attr->nodeValue;
+            return $attr->value;
         } else {
             throw new \Exception('Could not find Issuer field in Authentication response');
         }