skip to Main Content

ASP .NET Core Log Out from JWT – Asp.net

I logged in with JWT, but how can I log out? Without Token invalidation. I want to do it with button [AllowAnonymous] [Route("login")] [HttpPost] public IActionResult Login(LoginModel loginModel) { if (string.IsNullOrEmpty(loginModel.UserName) || string.IsNullOrEmpty(loginModel.Password)) { return (RedirectToAction("Error")); } IActionResult response =…

VIEW QUESTION
Back To Top
Search