diff --git a/DigitalData.UserManager.API/Controllers/PlaceholderAuthController.cs b/DigitalData.UserManager.API/Controllers/PlaceholderAuthController.cs index aa60034..a7be3fe 100644 --- a/DigitalData.UserManager.API/Controllers/PlaceholderAuthController.cs +++ b/DigitalData.UserManager.API/Controllers/PlaceholderAuthController.cs @@ -23,5 +23,13 @@ public class PlaceholderAuthController : ControllerBase [Authorize] [HttpPost("logout")] - public Task Logout() => throw new NotImplementedException(); + public IActionResult Logout() + { + Response.Cookies.Delete("AuthToken", new() + { + Path = "/" + }); + + return Ok(); + } } \ No newline at end of file