I am working on a logout feature in the application we are using ASP.NET Identity login. I can login successfully but when I logout and then try to login again I get the fol
Try this:
public ActionResult Logout() { AuthenticationManager.SignOut(); Session.Abandon(); return RedirectToAction("Index"); }
That will reload your login page which will provide you a new CSRF token.