diff --git a/www/saml2/sp/idpdisco.php b/www/saml2/sp/idpdisco.php
index cc16ffef5eeff1f15a89d2d579c57a430a0aca97..67b8022e76e1d2cf55903316a7b1a1701c4dff81 100644
--- a/www/saml2/sp/idpdisco.php
+++ b/www/saml2/sp/idpdisco.php
@@ -33,7 +33,7 @@ try {
 	// Default value for "returnIDParam". Added to support Shibboleth 2.0 SP which does not 
 	// send this parameter.
 	//    if (!isset($_GET['returnIDParam'])) throw new Exception('Missing parameter: returnIDParam'); 
-	$returnidparam = 'idpentityid';
+	$returnidparam = 'entityID';
 	
 	//
 	if (isset($_GET['returnIDParam'])) {