A demo application for Building a Simple Token Server and Protecting Your ASP.NET Core APIs with JWT
Check this article for details: IdentityServer4: Building a Simple Token Server and Protecting Your ASP.NET Core APIs with JWT