Published writing
Blog
Browse recent posts, filter by category, and move through the archive five posts at a time.
Custom Authentication Handler .Net Core
Custom Authentication Handler .Net Core
The MVC framework for c# has a nice authentication and authorization framework that covers almost all use cases that there are currently. But what if there is an authentication method that you need that it currently does not support?
Custom Authentication handlers are your answers as it can build on top of the current framework. In this document I will go over the very basics of creating a custom authentication handler in C# .Net Core 3.
Creating The Project
Lets start by creating new project in Visual Studio using the ASP.NET Core Web Application template.

Name the project. In this example I decided to name it CustomHandlerTest. On the next s