Home
Products
Downloads
Purchase
Support
Forums
About
Back
Forums, Documentation & Knowledge Base - ComponentSpace
Register
Login
ComponentSpace
Forums
Home
»
ComponentSpace Support Forums
»
Questions - SAML SSO for ASP.NET Core
»
Logging failed Assertions
Logging failed Assertions
Post Reply
Logging failed Assertions
View
Options
Author
Message
br1003
br1003
Posted 2 Years Ago
#11501
New Member
Group: Forum Members
Posts: 21,
Visits: 110
Hi,
I've been logging Assertions as they come in but whenever ReceiveSsoAsync throws it doesn't look like the OnSamlAssertionReceived happens so my delegate never gets called. I've got an issue where the Assertion is parsed normally but the Status is not Success and I want to see what's in the Assertion in production.
Is there something I can do to get the assertion logged without a successful
ReceiveSsoAsync? Am I doing something wrong or is this just the way it has to be?
I assign the delegate prior to calling
ReceiveSsoAsync.
Thanks!
Reply
ComponentSpace
ComponentSpace
Posted 2 Years Ago
#11502
ComponentSpace Development
Group: Administrators
Posts: 3.1K,
Visits: 10K
If the SAML response status isn't success, no SAML assertion is included in the SAML response.
Instead of OnSamlAssertionReceived, use OnSamlResponseReceived. This is called regardless of the SAML response status.
Regards
ComponentSpace Development
Reply
br1003
br1003
Posted 2 Years Ago
#11503
New Member
Group: Forum Members
Posts: 21,
Visits: 110
Thanks, that'll work for now. The only bummer is that when the assertion is encrypted it's not as helpful but we'll work with it.
Thanks!
Reply
ComponentSpace
ComponentSpace
Posted 2 Years Ago
#11504
ComponentSpace Development
Group: Administrators
Posts: 3.1K,
Visits: 10K
That's true. However, you could use OnSamlResponseReceived to handle unsuccessful SAML responses and OnSamlAssertionReceived for successful SAML responses.
Regards
ComponentSpace Development
Reply
GO
Post Reply
Similar Topics
Post Quoted Reply
Login
Existing Account
Email Address:
Password:
Reset Your Password
Remember Me
Social Logins
Select a Forum....
ComponentSpace Support Forums
Questions - SAML SSO for ASP.NET
Questions - SAML SSO for ASP.NET Core
Questions - OpenID for ASP.NET Core
ComponentSpace Documentation
Announcements
Documentation - SAML SSO for ASP.NET
Documentation - SAML SSO for ASP.NET Core
Documentation - OpenID for ASP.NET Core
ComponentSpace Knowledge Bases
Knowledge Base - SAML SSO for ASP.NET
Knowledge Base - SAML SSO for ASP.NET Core
Knowledge Base - OpenID for ASP.NET Core
Explore
Home
Latest
Popular
Search
Tags
Forums
ComponentSpace Support Forums
Questions - SAML SSO for ASP.NET
Questions - SAML SSO for ASP.NET Core
Questions - OpenID for ASP.NET Core
ComponentSpace Documentation
Announcements
Documentation - SAML SSO for ASP.NET
Documentation - SAML SSO for ASP.NET Core
Documentation - OpenID for ASP.NET Core
ComponentSpace Knowledge Bases
Knowledge Base - SAML SSO for ASP.NET
Knowledge Base - SAML SSO for ASP.NET Core
Knowledge Base - OpenID for ASP.NET Core
Forums, Documentation & Knowledge Base - ComponentSpace
Login
Register
Search
Flat Ascending
Flat Descending
Threaded
Subscribe to topic
Print This Topic
Goto Topics Forum
Jump To Page
Jump To Page