IdentityServer4.Postgresql icon indicating copy to clipboard operation
IdentityServer4.Postgresql copied to clipboard

IdentityServer4.Postgresql

Build status Codeship Status for Sphiecoh/IdentityServer4.Postgresql NuGet Version

Install-Package IdentityServer4.Postgresql

e.g AspNet Core

using IdentityServer4.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;

Acknowledgements

IdentityServer4.Postresql is built using the following great open source projects :