
KamalS.86277 (Customer) asked a question.
Hello Team,
I am trying to integrate the SAML2.0 in my website. Configuration into okta using saml 2.0, and got the xml file from signon tab, and read the "SimpleSAMLphp Service Provider" for implementation into website and follow all the steps of this url :
a) https://simplesamlphp.org/docs/stable/simplesamlphp-sp*section_4.
but i am getting this error in "http://localhost/testokta/authsources.php".
"Uncaught SimpleSAML\Error\CriticalConfigurationError: The configuration is invalid: Setting secure cookie on plain HTTP is not allowed. in".
Can I run this on localhost?
Thankyou in advance

Hello, this is Eusebiu and we will assist you, but given the situation, we will need to get some traces and understand the issue exactly.
I would advise going through this article on how to capture a SAML trace https://developer.okta.com/docs/guides/saml-tracer/overview/#example-saml-response and when you have everything ready please open a ticket with us as this will go much faster and we will be able to grab all the necessary details in order to provide an accurate and helpful answer.