Skip to content

Commit a324865

Browse files
committed
IdP metadata download
1 parent 88b6f1e commit a324865

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

www/saml2/idp/metadata.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,8 @@
182182

183183
} else {
184184

185-
header('Content-Type: application/xml');
185+
header('Content-Type: application/samlmetadata+xml');
186+
header('Content-Disposition: attachment; filename=' . $idpmeta->getString('host') . '-IdP.xml');
186187

187188
echo $metaxml;
188189
exit(0);

0 commit comments

Comments
 (0)