1
I’m having trouble executing a logout of the application using STS.
After clicking the Logout button, I Expose all the cookies I have, until I give the signout command of Federationauthentication, but it does not request the PIN again
Follow the logout code
protected void BtnLogoutClick(object sender, EventArgs e)
{
WSFederationAuthenticationModule fam = FederatedAuthentication.WSFederationAuthenticationModule;
try
{
FormsAuthentication.SignOut();
Session.Abandon();
}
finally
{
fam.SignOut(true);
}
SignOutRequestMessage signOutRequest = new SignOutRequestMessage(new Uri(System.Configuration.ConfigurationManager.AppSettings["CORP.STS.Certificado"]), System.Configuration.ConfigurationManager.AppSettings["CORP.STS.UrlCliente"]);
FormsAuthentication.RedirectToLoginPage();
}
Is there something wrong?