ComponentSpace

Forums



View SamlResponse


View SamlResponse

Author
Message
anneli
anneli
New Member
New Member (6 reputation)New Member (6 reputation)New Member (6 reputation)New Member (6 reputation)New Member (6 reputation)New Member (6 reputation)New Member (6 reputation)New Member (6 reputation)New Member (6 reputation)

Group: Forum Members
Posts: 4, Visits: 25
Hello,
I'm using Idp Initiated SSO
SAMLIdentityProvider.InitiateSSO(Response, name, attributes, relayState, partnerName);
Is there a way to view/log the actual SAML Response xml that gets sent to SP?
Thanks.
ComponentSpace
ComponentSpace
ComponentSpace Development
ComponentSpace Development (4.2K reputation)ComponentSpace Development (4.2K reputation)ComponentSpace Development (4.2K reputation)ComponentSpace Development (4.2K reputation)ComponentSpace Development (4.2K reputation)ComponentSpace Development (4.2K reputation)ComponentSpace Development (4.2K reputation)ComponentSpace Development (4.2K reputation)ComponentSpace Development (4.2K reputation)

Group: Administrators
Posts: 3K, Visits: 10K
If you enable SAML trace you can see the generated SAML response XML.

https://www.componentspace.com/Forums/17/Enabing-SAML-Trace

We also have an ISAMLObserver interface under the ComponentSpace.SAML2.Notifications namespace. The OnSAMLMessageSent event provides access to the SAML response XML.

You add your observer implementation by calling the static method SAMLObservable.Subscribe.

Regards
ComponentSpace Development
anneli
anneli
New Member
New Member (6 reputation)New Member (6 reputation)New Member (6 reputation)New Member (6 reputation)New Member (6 reputation)New Member (6 reputation)New Member (6 reputation)New Member (6 reputation)New Member (6 reputation)

Group: Forum Members
Posts: 4, Visits: 25
ComponentSpace - 10/28/2022
If you enable SAML trace you can see the generated SAML response XML.

https://www.componentspace.com/Forums/17/Enabing-SAML-Trace

We also have an ISAMLObserver interface under the ComponentSpace.SAML2.Notifications namespace. The OnSAMLMessageSent event provides access to the SAML response XML.

You add your observer implementation by calling the static method SAMLObservable.Subscribe.

Thanks, it worked, but could you please provide the same info for ASP.NET Core version? I had to switch. Appreciate it. 
ComponentSpace
ComponentSpace
ComponentSpace Development
ComponentSpace Development (4.2K reputation)ComponentSpace Development (4.2K reputation)ComponentSpace Development (4.2K reputation)ComponentSpace Development (4.2K reputation)ComponentSpace Development (4.2K reputation)ComponentSpace Development (4.2K reputation)ComponentSpace Development (4.2K reputation)ComponentSpace Development (4.2K reputation)ComponentSpace Development (4.2K reputation)

Group: Administrators
Posts: 3K, Visits: 10K
For SAML for ASP.NET Core logging, please refer to:

https://www.componentspace.com/forums/7936/Enabling-SAML-Trace




Regards
ComponentSpace Development
GO


Similar Topics


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


Password:


Social Logins

Select a Forum....












Forums, Documentation & Knowledge Base - ComponentSpace


Search