Policy-based Authorization For Web API With Asp.Net Core 6

These projects are usage example for JWT and Identityserver 4.1.2 with policy-based authorization and claims for securing Asp.Net Core 6 web API. There are two posts on my blog which explains how they work. You can find the links to these posts down below.

Policy-based Authorization Using Asp.Net Core 2 And Json Web Token (JWT)

Policy-based Authorization Using Asp.Net Core 2 And IdentityServer4

What do you need to run it?

  • Visual Studio 2022
  • NET Core 6.0 SDK