diff --git a/templates/default/consent.php b/templates/default/consent.php
index 47a8697144814b3e1bb5aa5d6a1c3e6416a01f45..af9d738b0e1810c1b14f9068b5b12e1d81c1043f 100644
--- a/templates/default/consent.php
+++ b/templates/default/consent.php
@@ -4,12 +4,13 @@
 	$this->includeLanguageFile('consent.php'); 
 	$this->includeInlineTranslation('spname', $this->data['sp_name']);
 	$this->includeInlineTranslation('IDPNAME', $this->data['idp_name']);
+	$this->includeInlineTranslation('SPDESC', $this->data['sp_description']);
 ?>
 
 	<div id="content">
 
 		<p><?php echo htmlspecialchars($this->t('consent_notice')); ?> <strong><?php echo htmlspecialchars($this->t('spname')); ?></strong>.
-		<?php echo htmlspecialchars($this->t('consent_accept', array('IDPNAME' => ''))) ?>
+		<?php echo htmlspecialchars($this->t('consent_accept', array('IDPNAME' => '', 'SPDESC' => ''))) ?>
 		</p>
 
 		<?php if ($this->data['sppp'] !== FALSE) {
diff --git a/www/saml2/idp/SSOService.php b/www/saml2/idp/SSOService.php
index b71d18711c8229ca793c9d74abbffeffa2d9433b..cadad790d1f87217602f4600fd7add496be0f079 100644
--- a/www/saml2/idp/SSOService.php
+++ b/www/saml2/idp/SSOService.php
@@ -331,6 +331,7 @@ if($needAuth && !$isPassive) {
 				$t = new SimpleSAML_XHTML_Template($config, 'consent.php', 'attributes');
 				$t->data['header'] = 'Consent';
 				$t->data['sp_name'] = $sp_name;
+				$t->data['sp_description'] = (isset($spmetadata['description']) ? $spmetadata['description'] : "SP DESCRIPTION");
 				$t->data['idp_name'] = (isset($idpmetadata['name']) ? $idpmetadata['name'] : $idpentityid);
 				$t->data['spentityid'] = $spentityid;
 				$t->data['spmetadata'] = $spmetadata;