Removes IdentityServer4 usage

This commit is contained in:
Paul Schneider
2021-05-01 16:43:57 +01:00
parent dc37c9a9f0
commit 838de379fd
34 changed files with 18 additions and 1847 deletions

View File

@ -47,17 +47,6 @@ namespace nuget_host
.AddDefaultUI()
.AddDefaultTokenProviders();
services.AddIdentityServer(options =>
{
options.Discovery.CustomEntries.Add("local_api", "~/localapi");
})
.AddAspNetIdentity<ApplicationUser>()
.AddInMemoryClients(Config.Clients)
.AddInMemoryIdentityResources(Config.IdentityResources)
.AddInMemoryApiResources(Config.ApiResources)
.AddDeveloperSigningCredential()
.AddTestUsers(Config.TestUsers);
services.AddMvc();
services.AddDataProtection();