diff --git a/lib/SAML2/Binding.php b/lib/SAML2/Binding.php
index 1e05ee46b714743b8ce1c2907674306641b25985..3cb987f05c57baf6f1744653d2c988060de24434 100644
--- a/lib/SAML2/Binding.php
+++ b/lib/SAML2/Binding.php
@@ -70,6 +70,8 @@ abstract class SAML2_Binding {
 			}
 			if (array_key_exists('SAMLRequest', $_REQUEST) || array_key_exists('SAMLResponse', $_REQUEST)) {
 				return new SAML2_HTTPPost();
+			} elseif (array_key_exists('SAMLart', $_REQUEST) ){
+				return new SAML2_HTTPArtifact();
 			} elseif ($contentType === 'text/xml') {
 				return new SAML2_SOAP();
 			}