ComponentSpace

Forums



ReceiveSSO


ReceiveSSO

Author
Message
Ify
Ify
New Member
New Member (12 reputation)New Member (12 reputation)New Member (12 reputation)New Member (12 reputation)New Member (12 reputation)New Member (12 reputation)New Member (12 reputation)New Member (12 reputation)New Member (12 reputation)

Group: Forum Members
Posts: 10, Visits: 62
Hi ComponentSpace,

How can get out the actual authentication request when ReceivingSSO.

My Idp is low level API Web Form and i want to get out the authentication request and ssooption and store in ssostatesession. 
The reason for doing this is because i want to use the already existing idp which supports my  ASP .Net MVC application to support the .Net Core application.
I have been using the idp with no issues, where our  MVC application is SP-inititated and there will like to get out the authentication request to support the other.

Any suggestion will help.



ComponentSpace
ComponentSpace
ComponentSpace Development
ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)

Group: Administrators
Posts: 3.2K, Visits: 11K
The following code demonstrates accessing the SAML authn request as part of the call to ReceiveSsoAsync.


 _samlIdentityProvider.Events.OnAuthnRequestReceived += (authnRequest, relayState) =>
{
    // TODO - access the authn request
};

// Receive the authn request from the service provider (SP-initiated SSO).
await _samlIdentityProvider.ReceiveSsoAsync();




Regards
ComponentSpace Development
Ify
Ify
New Member
New Member (12 reputation)New Member (12 reputation)New Member (12 reputation)New Member (12 reputation)New Member (12 reputation)New Member (12 reputation)New Member (12 reputation)New Member (12 reputation)New Member (12 reputation)

Group: Forum Members
Posts: 10, Visits: 62
ComponentSpace - 6/23/2020
The following code demonstrates accessing the SAML authn request as part of the call to ReceiveSsoAsync.


 _samlIdentityProvider.Events.OnAuthnRequestReceived += (authnRequest, relayState) =>
{
    // TODO - access the authn request
};

// Receive the authn request from the service provider (SP-initiated SSO).
await _samlIdentityProvider.ReceiveSsoAsync();



HI
Thanks for your reponse. But i mentined that my idp is low-level api. Also this is componentspace v4.0


ComponentSpace
ComponentSpace
ComponentSpace Development
ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)

Group: Administrators
Posts: 3.2K, Visits: 11K
Do you mean SAML for ASP.NET? If so, I'll move your question to the correct forum.

Regards
ComponentSpace Development
Ify
Ify
New Member
New Member (12 reputation)New Member (12 reputation)New Member (12 reputation)New Member (12 reputation)New Member (12 reputation)New Member (12 reputation)New Member (12 reputation)New Member (12 reputation)New Member (12 reputation)

Group: Forum Members
Posts: 10, Visits: 62
ComponentSpace - 6/23/2020
Do you mean SAML for ASP.NET? If so, I'll move your question to the correct forum.

Yes please

ComponentSpace
ComponentSpace
ComponentSpace Development
ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)

Group: Administrators
Posts: 3.2K, Visits: 11K
There isn't a way to retrieve the SAML authn request when calling SAMLIdentityProvider.ReceiveSSO. If you need access to the authn request you will need to revert to the SAML low-level API. However, in most cases you don't need access to the authn request.

I'm not sure if I understand your requirements.

Why do you need access to the SAML authn request at your IdP?

Regards
ComponentSpace Development
GO


Similar Topics


Execution: 0.000. 2 queries. Compression Enabled.
Login
Existing Account
Email Address:


Password:


Select a Forum....












Forums, Documentation & Knowledge Base - ComponentSpace


Search