Don't have Telegram yet? Try it now!
https://knowledge-base.havit.cz/2017/11/10/asp-net-core-security-cookieauthentication-vs-status-code-401/
ASP.NET Core Security - CookieAuthentication vs. status code 401