Reputation: 822
I am very new to the SAML arena, and I am trying to implement this into my app as an SP only, using saml-php from OneLogIn. As it now stands, I am able to get it working using a OneLogIn test app, however, whenever an outside source attempts to log in through it, I get the following error:
Fatal error: Uncaught exception 'OneLogin_Saml2_Error' with message 'SAML Response not found, Only supported HTTP_POST Binding' in
followed by a stack trace through my various files. Since I do not have much experience with all of this, could someone explain what this means? Where do I need to start looking in order to debug it.
Please, if any additional information would be helpful, let me know, and I will provide it.
Thank you in advance!
Upvotes: 3
Views: 5018
Reputation: 3037
The SP Assertion Consumer Service URL expects a "SAMLResponse" POST parameter containing a SAMLResponse message.
That error means that the ACS endpoint was not able to find that parameter (maybe the Identity Provider using HTTP-Redirect binding?).
You can use SAMLTracer in order to record the SAML flow and analyze what is happening. Compare the trace between the working environment with Onelogin app and the otherone.
Also visit samltool.com where you will found several info related to SAML, including the "online tools" where you will be able to manipulate SAML messages and learn how SAML works.
Upvotes: 5