In IdP-initiated SSO scenario we need to set NameQualifier option. This is the required result:
<saml2:NameID Format="urn:oasis:names:tc:SAML:2.0:nameidformat:persistent" NameQualifier="Foo">XXX</saml2:NameID>
Using NameIDFormat in the configuration file we can set the Format option, but how do we set the NameQualifier to Foo?
This is our current code:
SAMLServiceProvider.ReceiveSSO(Request, out isInResponseTo, out partnerIdP, out authnContext, out userName, out attributes, out targetUrl);