IdentityServer4.Contrib.Postgresql

Build status Build status NuGet Version

Install-Package IdentityServer4.Contrib.Postgresql

e.g AspNet Core

using IdentityServer4.Contrib.Postgresql.Extensions;

public void ConfigureServices(IServiceCollection services)
{
   var builder = services.AddIdentityServer();
   builder.AddConfigurationStore().AddOperationalStore();
}
public void Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerFactory)
 {
    app.UseIdentityServer():
 }

This will register all the IdentityServer stores and optionally a Marten's IDocumentSession as well as IDocumentStore if you pass a connection string;