Removes IdentityServer4 usage
This commit is contained in:
parent
dc37c9a9f0
commit
838de379fd
34 changed files with 18 additions and 1847 deletions
11
Startup.cs
11
Startup.cs
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue