SAMLサービス プロバイダーにSimpleSamlPhpを使用しています。
SimpleSamlPhp は xml ヘッダーなしで送信認証要求を送信していますが、IdP は xml ヘッダーが必要であると言います。リクエストに utf-8 ヘッダーを追加するにはどうすればよいですか? ( <?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.....
これが IdP が要求する方法です
<?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: 私の SP を Feide OpenIdp でテストしたところ、問題なく動作しました。