I can submit requests to authenticate and the response is just fine. I have ADFS configured to send me a persistent name ID using instructions from here: http://blogs.msdn.com/b/card/archive/2010/02/17/name-identifiers-in-saml-assertions.aspx
I know that the Requester status code means there is something wrong with my request message, but I can't figure out what is wrong. I've got tracing turned on as described here:http://blogs.msdn.com/b/card/archive/2010/01/21/diagnostics-in-ad-fs-2-0.aspx
But I don't see anything in either the debug logs or in the regular logs that points me to the part of the message that is incorrect. I've validated my request against the XSDs provided by OASIS.
Can anyone help? Are there some settings somewhere I should turn on to provide even more debugging information? Or is there something obviously wrong with my SAML request?
An example of a request message:
<samlp:LogoutRequest xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol" xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion" ID="_df18d04d7325bef3ecb3" Version="2.0" IssueInstant="2012-10-05T22:03:46.888Z" Destination="https://dc1.org.testna.me/adfs/ls/"><saml:Issuer xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion">TestSamlApp</saml:Issuer><saml:NameID Format="urn:oasis:names:tc:SAML:2.0:nameid-format:persistent">+543LSsx5Bs/NqZuwtdoBediy78qfXi3owHKJbtc+sQ=</saml:NameID></samlp:LogoutRequest>
Signed and converted to redirect format:
https://dc1.org.testna.me/adfs/ls/?SAMLRequest=nZFPa8JAEMW%2FStirmM0fU8NgAoqU2lqhVUrxUtbsxgaS3bgzQfvtu0YP0oOHHmfm%2Fd68YSYomrqFpdmbjt7VoVNI3qmpNUI%2FyVhnNRiBFYIWjUKgAtbT1yVEfgCtNWQKU7Mb5D4hEJWlymjmLeYZ%2B5JlmMpgJMdxlOxUGatiFzPvQ1l0mow5xAkRO7XQSEKTawVhNAyDYZBsogiCGEYPfpqmW%2BbNXfZKC%2BrJb6IWgXNZhL6xe5%2FcUAu%2FUVzIEnmNnOWTc17o7e0%2FLsg3znPtgGnbTviN19V45djF3Hs0thF03%2FTcqeSw7KXQns9HUppYPkhG8XKNp2SGfHXYdkeSZqZk9TNOD%2BVnFZvj08vzjooBvmXXEJe9%2BaX689v8Fw%3D%3D&SigAlg=http%3A%2F%2Fwww.w3.org%2F2000%2F09%2Fxmldsig%23rsa-sha1&Signature=nnJeG2zW1dVqprfVKUihwKDvD44tNstRgWKeClUQXwQ5uWfmZ8K27w9k2fHC%2BUaGOM5k8obJYR3pRfY8GWd5tq7uRQRp0wjUpNJWD7JrlAv0qJRgmetfD9KTDCRJTl7vVm7keVS7V43JqpP4iEQfdy%2FR%2BEB2ADE%2FtKVCAAvbu%2FcV00r47ZJsmOXDEoINh9EhXpE7t%2BTNFaHrVwYN2srzckFhUXfGvpG6wwAhxA4oBT8VPY%2FWiN2eWgFoYUsDzYEfvjU9TNxMFRK2FaHO6KA1jgr%2FI8LTZ0%2B%2Bz91PhWJn5iWr%2FxpJObZCuxYXaxtcmSDWAYk%2BAX7lP77Ti37LuC%2BH9g%3D%3D
The response I'm getting from ADFS:
<samlp:LogoutResponse ID="_570da7da-8d7e-4e1f-b417-4b80cee1a426" Version="2.0" IssueInstant="2012-10-05T23:03:39.952Z" Destination="https://localhost:3000/saml/logout/callback" Consent="urn:oasis:names:tc:SAML:2.0:consent:unspecified" InResponseTo="_df18d04d7325bef3ecb3"
xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol"><Issuer xmlns="urn:oasis:names:tc:SAML:2.0:assertion">http://dc1.org.testna.me/adfs/services/trust</Issuer><ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#"><ds:SignedInfo><ds:CanonicalizationMethod
Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" /><ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /><ds:Reference URI="#_570da7da-8d7e-4e1f-b417-4b80cee1a426"><ds:Transforms><ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"
/><ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" /></ds:Transforms><ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /><ds:DigestValue>r/6mxT5Lu71BohKUlyNfnmiYLt8=</ds:DigestValue></ds:Reference></ds:SignedInfo><ds:SignatureValue>JRprCiBCZVEWJbFh4dmiqrq0DrlrLmlWQ5gfDay/dfxrkZxKZjkm4Cyrl7THrSmC4ASoBlxD6jb+e1WA6rcSr0PUH7u9H1KQ1vB/3APxUBlOaBsndg6SgD5PBP1fHqI1n9fDgIH6XdmMBs6NADkXMbeNjF1Ti5UDLZo5kncs8TJLFLnbGOtIXQaDpDeTqP0nmvCyV0VQ1nnjnClhIkl2kaGddf7lfOdRmHtAiEMxG8uuBlxsBFdZ2uUnSDXyjxxpB8WsDazcRdius2UQ+WaXFYcHCn8CkXeFJKlkQbWSkDubQtKA8NkpqKZyMRNq3bRXYeGJHT9x89NUX+hpK4Vt6w==</ds:SignatureValue><KeyInfo
xmlns="http://www.w3.org/2000/09/xmldsig#"><ds:X509Data><ds:X509Certificate>MIIC5jCCAc6gAwIBAgIQRjJu6D+dUKREnbGOWi77xjANBgkqhkiG9w0BAQUFADAcMRowGAYDVQQDExFkYzEub3JnLnRlc3RuYS5tZTAeFw0xMjEwMDEyMzExMTRaFw0xMzEwMDEwMDAwMDBaMBwxGjAYBgNVBAMTEWRjMS5vcmcudGVzdG5hLm1lMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAzCjyneYPzRzybJ/K6NCRDQ7NsbitYr5UxVOMGjYGybm9cc+zLSFAVSaZBRHfQFKI59lfDnHk99v1vskXz+wMx8h/UFgYW/lR2NYWDsQgYM/IVzRmgFgXIRAc32tIhRH8f+XAKl+Rig/FGOnGXNPl77r35m24hunuq+CG3BqydLQhDeSc8W0pUaCx5QeJCxd0mVC46zy0OsqCkx1E1DrbHHDclHsYaf0hcRQxFeQg7RQHQVgznNgJxtXEvNpCsTkoX0Xtn2jJx6LUW9rz1mdTT6SWtPIKhvyOmkp2BiL0sznL5dxuaG8jN8LhICbIL0RHfZY6xJ8G+ecfkkxroSgKuwIDAQABoyQwIjALBgNVHQ8EBAMCBDAwEwYDVR0lBAwwCgYIKwYBBQUHAwEwDQYJKoZIhvcNAQEFBQADggEBABjTkuVWmGN6chD+4Y/jfr56QIcMDW+dsdJvNUtUXaG46B4SZ+fNeR1RPAM9QHp11OlpL1t/i1tPVn6jpy4QkPTqmQhYGPydt+Z2up+wJneX8+waKf6nrGgSJaMMcwQ6250x5Q3+jfyqX/ekw+uHOwnbXQWtVWVbLSOGnHdRW2hgNbY0btCN/0DYX5KODzYxQu6JmZefgNjW69wEi42ZnO5gN7Elkdaeyks5zX43fSH/QpQfrrWMDaZqsFCUkBe/bhYljZvE5FYioUwUkaXXtESjmTmm30GvOx/cBdXz040CDssk7bIe6LeYRSv1I3sEaO5kPbfqvzD3rXpIw1wJds8=</ds:X509Certificate></ds:X509Data></KeyInfo></ds:Signature><samlp:Status><samlp:StatusCode
Value="urn:oasis:names:tc:SAML:2.0:status:Requester" /></samlp:Status></samlp:LogoutResponse>