diff --git a/www/saml2/idp/ArtifactResolutionService.php b/www/saml2/idp/ArtifactResolutionService.php index 5a433220e20807f2712a764344129dd1922dfd22..98d5b4986518fa6b0fd6f6990cfa67e814ca559d 100644 --- a/www/saml2/idp/ArtifactResolutionService.php +++ b/www/saml2/idp/ArtifactResolutionService.php @@ -58,15 +58,9 @@ if (!($request instanceof ArtifactResolve)) { throw new Exception('Message received on ArtifactResolutionService wasn\'t a ArtifactResolve request.'); } -$issuer = $request->getIssuer(); -if (!is_string($issuer)) { - $issuer = $issuer->getValue(); -} - +$issuer = $request->getIssuer()->getValue(); $spMetadata = $metadata->getMetaDataConfig($issuer, 'saml20-sp-remote'); - $artifact = $request->getArtifact(); - $responseData = $store->get('artifact', $artifact); $store->delete('artifact', $artifact);