Skip to content

Commit fd95858

Browse files
authored
Merge pull request #5 from GoIntegro/go5-auth-idp-module
IdP metadata download
2 parents 1fb72ea + a324865 commit fd95858

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)