The SAML XML.org web site is not longer accepting new posts. Information on this page is preserved for legacy purposes only. For current information on SAML, please see the OASIS Security Services Technical Committee Wiki.
how to read attributes from saml response using simplesamlphp
Hello Olva,
Please help me to understand ..how to retrive the attributes of a saml2.0 response..I have written below code..
$assertion = new SAML2_Assertion($xmlNode);
$attributes = $assertion->getAttributes();
print_r($attributes);
I am passing whole sml in $xmlNode..but its returning expection.
Catchable fatal error: Argument 1 passed to SAML2_Assertion::__construct() must be an instance of DOMElement, string given, called in C:\xampp\htdocs\simplesamlphp\www\receive1.php on line 41
Actually I want to get attributes of user like firstname,last name,email etc.
kindly help.
Thanks in advance