ComponentSpace

Forums



Logging failed Assertions


Logging failed Assertions

Author
Message
br1003
br1003
New Member
New Member (29 reputation)New Member (29 reputation)New Member (29 reputation)New Member (29 reputation)New Member (29 reputation)New Member (29 reputation)New Member (29 reputation)New Member (29 reputation)New Member (29 reputation)

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!

ComponentSpace
ComponentSpace
ComponentSpace Development
ComponentSpace Development (3.9K reputation)ComponentSpace Development (3.9K reputation)ComponentSpace Development (3.9K reputation)ComponentSpace Development (3.9K reputation)ComponentSpace Development (3.9K reputation)ComponentSpace Development (3.9K reputation)ComponentSpace Development (3.9K reputation)ComponentSpace Development (3.9K reputation)ComponentSpace Development (3.9K reputation)

Group: Administrators
Posts: 2.8K, Visits: 8.6K
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
br1003
br1003
New Member
New Member (29 reputation)New Member (29 reputation)New Member (29 reputation)New Member (29 reputation)New Member (29 reputation)New Member (29 reputation)New Member (29 reputation)New Member (29 reputation)New Member (29 reputation)

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!
ComponentSpace
ComponentSpace
ComponentSpace Development
ComponentSpace Development (3.9K reputation)ComponentSpace Development (3.9K reputation)ComponentSpace Development (3.9K reputation)ComponentSpace Development (3.9K reputation)ComponentSpace Development (3.9K reputation)ComponentSpace Development (3.9K reputation)ComponentSpace Development (3.9K reputation)ComponentSpace Development (3.9K reputation)ComponentSpace Development (3.9K reputation)

Group: Administrators
Posts: 2.8K, Visits: 8.6K
That's true. However, you could use OnSamlResponseReceived to handle unsuccessful SAML responses and OnSamlAssertionReceived for successful SAML responses. 

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