<div dir="ltr">In our Shib SP we try to extract and decode the attribute "memberOf" from multiple IdPs during assertion. since our SP supported by multiple IdPs. The problem, we are facing each IdP sends a different nameFormat.<br><br><div>IdP1 sending below saml response<div><Attribute Name="memberOf"><br><AttributeValue>abc</AttributeValue><br><AttributeValue>def</AttributeValue><br></Attribute></div><div><br>IdP2 sending below saml reponse<br><saml:Attribute Name="memberOf" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:basic" > </div><div><saml:AttributeValue xsi:type="xs:string">eln</saml:AttributeValue> </div><div></saml:Attribute></div><div><br>In our shib sp we have configured like below to extract
"memberOf " attribute</div><div><br><Attribute name="memberOf" nameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:unspecified" id="memberOf"><br><AttributeDecoder xsi:type="StringAttributeDecoder" caseSensitive="false"/><br></Attribute><br><br>The above sp config doesn't seems to be working when IdP2 sends NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:basic"<br><br>Also, reading shib doc says expect NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:basic" from Sp side. refer here <a href="https://wiki.shibboleth.net/confluence/display/SP3/XMLAttributeExtractorExamples">https://wiki.shibboleth.net/confluence/display/SP3/XMLAttributeExtractorExamples</a><br><br>How to configure SP's attribute extractor for multiple nameformats of the same attribute? so that, we can able to extract and decode the attribute during saml assertions.<br></div></div><div><br></div><div>Thank you,</div><div>Prasanth K</div><div><br></div></div>