This is a step-by-step guide on how to set up an OAuth 2.0 / OpenIdConnect Server using Kevin Chalet's excellent AspNet.Security.OpenIdConnectServer library.
Each branch of this tutorial corresponds to a section of the written tutorial over at http://0xnf.github.com/posts/oauthserver/01
Be sure you have .NET Core 2
or higher installed on your machine. It helps if you're using a linux distro, or WSL
if on a windows machine.