public class Startup | |
{ | |
public void ConfigureServices(IServiceCollection services) | |
{ | |
services.AddIdentityServer() | |
.AddDeveloperSigningCredential() | |
.AddInMemoryApiResources(Configuration.ApiResources) | |
.AddInMemoryClients(Configuration.Clients); | |
} | |
public void Configure(IApplicationBuilder app, IHostingEnvironment env) | |
{ | |
if (env.IsDevelopment()) | |
{ | |
app.UseDeveloperExceptionPage(); | |
} | |
app.UseIdentityServer(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment