https://elanderson.net/2017/09/identity-server-api-migration-to-asp-net-core-2/
Identity Server: API Migration to ASP.NET Core 2