Subject: GetEncryptedAssertions() is returning a count of 1, but the Response doesn't have an encrypted assertion section
Date: 2018-05-07 02:59:18
From: services@corpaxe.com
Source: getencryptedassertions-returning-count-1-response-doesn-t-encrypted-assertion-section
----------------------------------------------------------------------
I've attached the SAML Response that I'm receiving; it validates and is successful - and contains a normal email assertion.
However, when programmatically checking if it has any EncryptedAssertions (samlResponse.GetEncryptedAssertions().Count), the call returns a value > 0. If I iterate through the EncryptedAssertions, everything returns null (including the EncryptedAssertion) so I'm wondering what to do in this case?
I've included the Response below (with details omitted)
http://foobar.com/trust
DIGEST_VALUE
SIGNATURE_VALUE
CERTIFICATE_VALUE
http://foobar.com/trust
DIGEST_VALUE
SIGNATURE_VALUE
CERTIFICATE_VALUE
https://ourwebsite.com/sp
email@foobar.com
urn:oasis:names:tc:SAML:2.0:ac:classes:PasswordProtectedTransport
----------------------------------------------------------------------
Note: This question has been asked on the Q&A forum of Thang Dang's fraudulent ComponentPro brand
If you purchased anything from ComponentPro, you have been scammed. Contact the payment processor
who sold you the license and ask for your money back.
Back to ComponentPro Q&A Forum Index