How to get service provider partner name in login view/page?

I am using the ExampleIdentityProvider from the Examples solution as an example for my own IdentityProvider implementation.
In my case I will have multiple partner service providers that can use my IdentityProvider for SSO and SSO.
Whenever a SP initiated SSO is processed in my IdentityProvider, I want to show the name of the Partner SP in the login view / page, to indicate the user for which SP (s)he is logging in.
But I can not find an easy way to do this.

Using the delegate OnAuthRequestReceived I can get the partner name in the delegate method, but how can I then get the name available in the login view/page?

Or in the SamlController in the SingleSignOnService method I can do:

var idpSsoRes = await _samlIdentityProvider.ReceiveSsoAsync();
var partnerName = idpSsoRes.PartnerName;

But then again the question: how to get this partnerName value available in the login view/page?

Because the login view/page will be processed on/as a different httpRequest it is not possible to add something to the httpContext.Items…

So is there a way to read the current SSO context or state in the login view/page, using dependency injection to get the correct instance of one of the ComponentSpace classes?
Or some other solution?

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();


[quote]
ComponentSpace - 8/15/2019
...
My suggestion is to save the name in the ASP.NET Core session state for later retrieval.
...
I was hoping another solution might be available, but using session state will do the job.
Thanks!

You’re welcome.