I see there are 3 methods for logout. And the order they are called is below. I need to understand how is logout and singlelogout different because entire code of logout is repeated again in SingleLogout. \
logout singlelogout loggedout
The problem is when I try to logout. First it calls, Logout method, it executes successfully. Later it calls, SingleLogout method, in which it tries to validate the certificate and fails. When it logs in, there is no issue with certificate, not sure why certificate issue arises when logging out.
The below line 61 returns true when logging and returns false when logging out. File : Saml2SignedXML. Method : CheckSignature line 61: return CheckSignature(Saml2Signer.Certificate, true);
Also, there is another issue, in the Logout method, User.Identity.IsAuthenticated is returning false, not sure what is the cause.