I’m trying to do a spike of an API proxy that needs to validate a SAML token on inbound requests. I have a Validate SAML Assertion policy that looks like the following:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ValidateSAMLAssertion ignoreContentType="false" name="MySamlValidation">
<DisplayName>MySamlValidation</DisplayName>
<Source name="request">
<XPath>/Envelope/Header/Security/saml:Assertion</XPath>
</Source>
<Description/>
<TrustStore>mytruststore</TrustStore>
<RemoveAssertion>false</RemoveAssertion>
</ValidateSAMLAssertion>
Whenever I try to deploy (and sometimes save) the configuration I get the aforementioned error ( “Source not configured in { }.” ). The “Source” element is present with what seems to be a valid configuration according to the documentation. What am I missing?