Currently my code looks something like this:
Dim attributes As IDictionary(Of String, String) = Nothing
SAMLServiceProvider.ReceiveSSO(Request, isInResponseTo, partnerIdP, authnContext, userName, attributes, targeturl)
dim email as string = If(returnedAttributes.ContainsKey(“emailaddress”), returnedAttributes(“emailaddress”), Nothing)
Now most previous clients had sent attributes that looked like this:
This works fine. The new client is sending them like this:
saml2:AttributeValuetemp@temp.org</saml2:AttributeValue>
</saml2:Attribute>
The first client is using ADFS which is what most have used.
The second is using shibboleth.