Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 744 Bytes

README.md

File metadata and controls

21 lines (15 loc) · 744 Bytes

IdentityServer4.AspNetIdentity

ASP.NET Core Identity integration support for IdentityServer4.

Add the following package to your project.json

"IdentityServer4.AspNetIdentity": "1.0.0-rc1"

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.