Let's see how we can authorize an API access based on an user role defined by the system or a user based on a claim based on the JWT token passed within the request.
In this article, let's look at how we can setup cookie based authentication in an ASP.NET Core MVC application without using Identity for user management.