diff --git a/www/saml2/sp/metadata.php b/www/saml2/sp/metadata.php
index ff1142ba18e29b2274bd5033306c5f52fa2c7782..722a1291036871360bd2e77d4fd8a76aa99077c3 100644
--- a/www/saml2/sp/metadata.php
+++ b/www/saml2/sp/metadata.php
@@ -32,7 +32,7 @@ try {
 
 		<SingleLogoutService 
 			Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" 
-			Location="' . $spmeta['assertionConsumerServiceURL'] . '"/>
+			Location="' . $spmeta['SingleLogOutUrl'] . '"/>
 		
 		<NameIDFormat>urn:oasis:names:tc:SAML:2.0:nameid-format:transient</NameIDFormat>
 		
@@ -40,7 +40,7 @@ try {
 			index="0" 
 			isDefault="true" 
 			Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" 
-			Location="' .  $spmeta['SingleLogOutUrl']  . '" />
+			Location="' .  $spmeta['assertionConsumerServiceURL']  . '" />
 
 	</SPSSODescriptor>