I've already developed an implementation to the following ASP.NET Identity interfaces:
Furthermore, I'm using OWIN/Katana, so I need to configure this by code during startup.
How do I provide/configure my custom store implementation to ASP.NET Identity?
Note: I've been searching a simple and clear tutorial on how to achieve this and I can't find one.
Best How To :
In the default code created in an MVC 5.2 application, the identity configuration is done in
To use your own store instead of the default one, change the first line in the
ApplicationUserManager.Create() method. By default it is
var manager = new ApplicationUserManager(
By changing it, you can inject your own
If you also want to change the
ApplicationUser type to use your own (or to simply rename
ApplicationUser to something more suitable, that is done by changing the generic argument to
public class ApplicationUserManager : UserManager<ApplicationUser>