<div dir="ltr">Hello,<div><br></div><div>I'm trying to get a 3rd-party SAML provider going (BambooHR), and after debugging, it seems as if the URL I'm getting from the vendor is not correct, or I have a misconfiguration in my AttributeFilterPolicy, as the filter is not returning the mail attribute. They provide this:</div><div><br></div><div>https://<tenant>.<a href="http://bamboohr.com/saml/consume.php*">bamboohr.com/saml/consume.php*</a><br></div><div><br></div><div>After some digging around, I found the documentation to do a Regex match in the Requester URL:</div><div><a href="https://wiki.shibboleth.net/confluence/display/IDP30/RequesterRegexConfiguration">https://wiki.shibboleth.net/confluence/display/IDP30/RequesterRegexConfiguration</a><br></div><div><br></div><div>And came up with this:</div><div>    <AttributeFilterPolicy id="BambooHR-SAML"><br>        <PolicyRequirementRule xsi:type="RequesterRegex" regex="^<a href="https://whitmansandbox.bamboohr.com/.*$">https://whitmansandbox.bamboohr.com/.*$</a>" /><br>        <AttributeRule attributeID="mail"><br>            <PermitValueRule xsi:type="ANY" /><br>        </AttributeRule><br>    </AttributeFilterPolicy><br></div><div><br></div><div>I've got DEBUG on for net.shibboleth.idp, and from what I can tell, the BambooHR-SAML policy is being evaluated, but it's not getting back the "mail" attribute (or any other attributes, for that matter), which is causing the  net.shibboleth.idp.saml.nameid.impl.AttributeSourcedSAML2NameIDGenerator messages in lines 32-33 here: <a href="https://gist.github.com/ostertoaster/3d322c8d2c9a48d9f8c3bb34cd7e12d0">https://gist.github.com/ostertoaster/3d322c8d2c9a48d9f8c3bb34cd7e12d0</a></div><div><br></div><div>I'm sure there's a simple explanation, but I've gotten as far as I can in debugging this issue.</div><div><br></div><div>Thanks for any pointers!</div><div><br></div><div>Mike</div></div>