1 AuthorizationServer using IdentityServer4; using IdentityServer4.Models; public class Startup { public Startup(IConfiguration configuration) { Configuration = configuration; } public IConfiguration Configuration { get; } // This method gets called…