-
Hello , We want to implement multi type user implementation with identity core for multi tenancy. In google solutions generally goes over one type of user or one ApplicationUser. We tried to build something like this but we had issues on expecially startup : public class ApplicationUser : IdentityUser public class Tenant1User: ApplicationUser public class Tenant2User: ApplicationUser For these type of implementation Identity allow just one type UserManager or UserStore in startup but we need something like below in startup but these type of configuration is not allowed by identity:
How could be more than one customized user for UserManager or UserStore thing with identity core ? Expecially for startup configuration. Thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
No it does not. It does not support multi-tenancy at all. |
Beta Was this translation helpful? Give feedback.
-
EDIT: Actually taking a deeper look it seems like we have some limitations that prevent this from working smoothly. We currently register these types concretely when you call AddIdentity. It doesn't look like there's anything fundamental that is preventing it from working though. cc @HaoK |
Beta Was this translation helpful? Give feedback.
EDIT:
Actually taking a deeper look it seems like we have some limitations that prevent this from working smoothly. We currently register these types concretely when you call AddIdentity. It doesn't look like there's anything fundamental that is preventing it from working though.
cc @HaoK