This repository is a sample of an Auth Server with using jwt in .net core.
You can see detail post series about this source code in bellow links:
JWT Authentication in ASP .Net Core with an Identity Provider โ Part I
JWT Authentication in ASP .Net Core with an Identity Provider โ Part II