aspnetboilerplate - A single user credential to connect to multiple tenants -


i using asp.net boilerplate multi-tenancy support. when user log in, present user list of tenants has access to. instance, if user email admin@example.com part of tenant-a , tenant-b, offer choice switch between tenants.

this not seem doable. each user can mapped single tenant (abpusers table).

what best way allow user access multiple tenants? way think can done adding n:m table between user , tenant, abp allow me context switching between tenants?

by design, tenant data (including users, roles...) isolated each other , can not shared easily.

we solved issue "account linking" feature in aspnet zero. feature, can connect accounts in different tenants , switch between accounts single click. maps accounts (users) in database , logs out & logs in automatically when want switch. see more info: https://aspnetzero.com/documents/development-guide-core#user-menu


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -