In formulating this question, I also found a solution to an issue of the IdentityManager GitHub repo
. I had to change the constructor for ApplicationUserManager
in IdentityConfig.cs
:
public ApplicationUserManager(IUserStore<ApplicationUser> store): base(store) {}
in
public ApplicationUserManager(ApplicationUserStore store): base(store) {}
And a similar type change in the function is a Create
little lower to get compilation.
ApplicationUserStore
.
public class ApplicationUserStore: UserStore<ApplicationUser>
{
public ApplicationUserStore(ApplicationDbContext ctx): base(ctx) {}
}
Startup.cs
ApplicationRoleStore
.