Skip to content

Instantly share code, notes, and snippets.

@HamidMosalla
Last active December 5, 2017 01:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save HamidMosalla/565ebe3daa70d8c795bd9ff9b32f28fd to your computer and use it in GitHub Desktop.
Save HamidMosalla/565ebe3daa70d8c795bd9ff9b32f28fd to your computer and use it in GitHub Desktop.
public void ConfigureServices(IServiceCollection services)
{
services.AddIdentityServer()
.AddDeveloperSigningCredential()
.AddInMemoryApiResources(Config.GetApiResources())
.AddInMemoryClients(Config.GetClients())
.AddTestUsers(Config.GetUsers())
.AddProfileService<ProfileService>();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment