Sitecore / sitecore-identityserver-contrib-membership

ASP.NET 2.0 Membership Database as Identity Server User Store

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sitecore.IdentityServer4.Contrib.Membership

Build status

ASP.NET 2.0 Membership Database as Identity Server User Store

Identity Server is a framework and doesn't provide implementations of user data sources out of the box. If you have an existing ASP.NET 2.0 Membership Database containing user data for existing systems then you can install the following package:

PM> Install-Package Sitecore.IdentityServer4.Contrib.Membership

To add the plugin, add the following to the OWIN startup class of your IdentityServer instance:

public void ConfigureServices(IServiceCollection services)
{
    var builder = services.AddIdentityServer(options => { })
        ...
        .AddMembershipService(new MembershipOptions
        {
            ConnectionString = "...",   // Membership database connection string
            ApplicationName = "..."     // Membership Application Name
        })
        ...
}

This will validate user logins and passwords against an existing database. No support is provided for maintaining users and it is not recommended that you use this for a new implementation. IdentityServer provides a plugin that supports ASP.NET Identity.

About

ASP.NET 2.0 Membership Database as Identity Server User Store

License:Other


Languages

Language:C# 81.5%Language:HTML 10.0%Language:PowerShell 7.4%Language:CSS 0.7%Language:JavaScript 0.4%