Asp.Net Core Identity providers for MongoDB.EntityFrameworkCore.
MongoFramework Implementations
- IdentityUser
- IdentityRole
- RoleStore
- UserStore
- UserOnlyStore
ServiceCollection Extensions for
- Identity Stores (adds to IdentityBuilder)
builder.Services.AddDefaultIdentity<MongoIdentityUser>(options => options.SignIn.RequireConfirmedAccount = true)
.AddMongoEntityFrameworkStores<ApplicationDbContext>();Sample .NET 9.0 Project shows a fully working example
Unit Tests, including passing Asp.Net Core's IdentitySpecificationBase
This issue shows the spec tests weren't publicly released for .NET 5.0. They are supposed to be, but do not show up on NuGet yet. I have added the code manually to the test project until this gets published.
