2

I'm using SimpleSamlPhp for SAML Service Provider.

SimpleSamlPhp is sending sending auth request without xml headers, but IdP says they require an xml header. How can I add utf-8 header to request? (<?xml version="1.0" encoding="UTF-8"?>)

This is how I send

<samlp:AuthnRequest xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol" ID="gfpdfaailecofabshsehljipgpofofghjjahggi" Version="2.0" IssueInstant="2011-08-23T06:26:06Z" ProtocolBinding="urn:oasis: etc.....

This is how IdP asks for

<?xml version="1.0" encoding="UTF-8"?><samlp:AuthnRequest xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol" ID="gfpdfaailecofabshsehljipgpofofghjjahggi" Version="2.0" IssueInstant="2011-08-23T06:26:06Z" ProtocolBinding="urn:oasis: etc.....

PS: Tested my SP on Feide OpenIdp and works fine.

hakre
  • 193,403
  • 52
  • 435
  • 836
ahmetunal
  • 3,930
  • 1
  • 23
  • 26
  • Can you show the code where you fire the request? And have you contacted the mailinglist? – hakre Aug 23 '11 at 10:25
  • I'm using built-in test page of SimpleSamlPhp. – ahmetunal Aug 23 '11 at 11:52
  • I have problems to locate that test. Can you provide the file-name of it or the URL how you access it? – hakre Aug 23 '11 at 12:30
  • simpleSAMLphp installation page -> authentication tab -> Test configured authentication sources -> default-sp . Url is something like /simplesaml/module.php/saml/disco.php?entityID=...etc – ahmetunal Aug 23 '11 at 13:22

0 Answers0