How to implement Multi-tenant User Login using ASP.NET Identity

前端 未结 2 778
死守一世寂寞
死守一世寂寞 2020-12-01 03:01

I\'m developing a Multi-tenant solution and I want to use the latest ASP.NET Identity framework specifically the Entity Framework implementation.

Basically I need to

2条回答
  •  隐瞒了意图╮
    2020-12-01 03:32

    Yeah we explicitly left this as an extensibility scenario. You should be able to do this via overriding UserManager properties and implementing your own custom IUserStore. Although you might be able to extend the EF UserStore potentially as well and just add a tenantId to your user.

提交回复
热议问题