/IdentityServer4.AspNetIdentity

ASP.NET Core Identity integration for IdentityServer4

Primary LanguageC#Apache License 2.0Apache-2.0

IdentityServer4.AspNetIdentity

ASP.NET Core Identity integration support for IdentityServer4.

Add the following NuGet package to your application: IdentityServer4.AspNetIdentity

This repos contains extensions for IdentityServer to easily integate with ASP.NET Core Identity. You simply add the UseAspNetIdentitymethod when configuring IdentityServer:

// Adds IdentityServer
services.AddIdentityServer()
    .AddInMemoryScopes(Config.GetScopes())
    .AddInMemoryClients(Config.GetClients())
    .AddAspNetIdentity<ApplicationUser>();

You can find a detailed walk-through for ASP.NET Core Identity integration here.