diff --git a/src/SAML2/SOAPClient.php b/src/SAML2/SOAPClient.php index 07d2afe5a..99aef2e4f 100644 --- a/src/SAML2/SOAPClient.php +++ b/src/SAML2/SOAPClient.php @@ -107,7 +107,7 @@ public function send(Message $msg, Configuration $srcMetadata, Configuration $ds $context = stream_context_create($ctxOpts); $options = [ - 'uri' => $issuer, + 'uri' => $issuer->getValue(), 'location' => $msg->getDestination(), 'stream_context' => $context, ];