zandbelt / php-ws-trust-client

WS-Trust Client functionality & samples in PHP
Apache License 2.0
9 stars 2 forks source link

ID3242: The security token could not be authenticated or authorized #3

Open vasanth-kumar-m-y opened 3 years ago

vasanth-kumar-m-y commented 3 years ago

Hi @zandbelt

while trying to run this script to get saml token its erroring out with ID3242: The security token could not be authenticated or authorized

SAML 2.0 Token:

<?xml version="1.0"?>
<s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope"><s:Body><s:Fault><s:Code><s:Value>s:Sender</s:Value><s:Subcode><s:Value xmlns:a="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">a:FailedAuthentication</s:Value></s:Subcode></s:Code><s:Reason><s:Text xml:lang="en">ID3242: The security token could not be authenticated or authorized.</s:Text></s:Reason></s:Fault></s:Body></s:Envelope>