Are you by any chance returning the response to a different domain than
you start the authentication from? E.g. starting it from
www.example.org, and having the AssertionConsumerService in the IdP
metadata set to example.org.
Regards,
Olav Morken
UNINETT / Feide
The AssertionConsumerService URL is where the SAML assertion from IdP
is sent to at the SP. Without this nothing works and SSP generates the
necessary and correct metadata by default, which includes ACS URLs.
-peter
What more can I check, within simpleSAMLphp or PHP in general?
Since it works with OpenIdP, but not with the real IdP, my guess is
that there is a difference in the domain name or with http vs. https
somewhere. I suggest that you use a request logger for your webbrowser
to investigate the requests, and checking where and how cookies are set
and received by the server.
(If you are using Firefox you may want to test the "SAML tracer"
extension that we developed:
https://addons.mozilla.org/en-US/firefox/addon/saml-tracer/
In addition to showing the HTTP requests and responses, it also
highlights and decodes the SAML 2.0 messages.)
That looks like a useful Firefox extension too -- I will definitely
check it out.