ERR_TOO_MANY_REDIRECTS on logout

Hi, I’m having issue to logout. I’m getting ERR_TOO_MANY_REDIRECTS error.
Here’s the code below.

public ActionResult LogOff() {

  HttpContext.GetOwinContext().Authentication.SignOut(CookieAuthenticationDefaults.AuthenticationType);
        HttpContext.GetOwinContext().Authentication.SignOut("Auth0");

return RedirectToAction(“login”, “Account”);
}

Any idea why?

Hey there!

Check this thread and let us know if that was helpful anyhow!