Forums, Documentation & Knowledge Base - ComponentSpace

Logging failed Assertions


https://componentspace.com/forums/Topic11501.aspx

By br1003 - 3/22/2021

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!
By ComponentSpace - 3/23/2021

That's true. However, you could use OnSamlResponseReceived to handle unsuccessful SAML responses and OnSamlAssertionReceived for successful SAML responses.