<div dir="ltr">We have two different metadata sources where our IdP is known by two different entity IDs. We used to set responderId explicitly on the RP configuration, but now that's highly inefficient due to some refactoring. Ideally we'd like to set responderId dynamically via a function that gets the IdP entity ID from the metadata source from which the SAML peer was determined. That seems technically feasible via RelyingPartyConfiguration#setResponderIdLookupStrategy(), but I don't see how to practically determine the metadata group from which the EntityDescriptor came. Is that possible? Am I going about this the right way?<div><br></div><div>Thanks,</div><div>Marvin</div><div><br></div></div>