Is there a way to get the "serviceProviderName" from session before calling SAMLIdentityProvider.SendSSO(), so that I can add appropriate SAML Attributes (we have multiple SPs each with different attributes and configuration). I know I can get if from the SAMLIdentityProvider.ReceiveSSO() and then pass it all the way to SendSSO(), but it would be more convenient to get it from the session.
I know that the "serviceProviderName" must be somewhere in the session, because the SAMLIdentityProvider.SendSSO() always replies to the correct SP even though I don't specify it.
|