ChunWong
6 years agoNew Contributor
Use fake SAML token with soap requests
Hello all,
I've stumbled upon a problem with fake SAML Tokens.
I need to send a mock token to test our webservice which doesn't have access to a SAML Service.
We implemented a a debug behaviour which allows invalid SAML Tokens.
I'm trying to send the following token:
<soap:Header xmlns:wsa="http://www.w3.org/2005/08/addressing" xmlns:saml2="urn:oasis:names:tc:SAML:2.0:assertion"> <saml2:NameID>2000034</saml2:NameID> <saml2:Conditions NotBefore="2016-01-01T01:00:00Z" NotOnOrAfter="2017-12-31T01:00:00Z"/> </soap:Header>
The request refuses to take the mock token.
It works when I put it in manually into the request, but not if I inherit the authentication from parent.
The endpoint is configured to use SAML.
Any help is appreciated
Best regards,
Chun