As you've said, the partner name is available at the time you call ReceiveSsoAsync. My suggestion is to save the name in the ASP.NET Core session state for later retrieval. The other option is to retrieve the ISsoStatus using _samlIdentityProvider.ReceiveSsoAsync(); For Example: var ssoStatus = await _samlIdentityProvider.ReceiveSsoAsync(); var partnerName = ssoStatus.GetPartnerPendingResponse();
Regards ComponentSpace Development
|