The identity service is an ASP.NET Core web API project. To use OpenIddict libraries, we have to add an aspnet-contrib reference to our Visual Studio package sources dialog. To add this source from Visual Studio, click on the NuGet Package Manager by right-clicking on the project and then hitting the settings button, as shown in the following screenshot:
Then add the entry of aspnet-contrib with the source as https://www.myget.org/F/aspnet-contrib/api/v3/index.json:
Once this is added, we can now easily ...