0
suruat created
We are building a muti-tenant system using the Asp.net Core/ Angular2+ solution. However we don't want users to be responsible for passing the Tenancy name in (via subdomain, or via a form). We want to get the tenant based on the user that is logging in (we are using the single db approach).
I am assuming we need to enforce that every user that is created, including tenant admin users must have unique usernames. Correct?
What is the best way to implement this? What do we need to change in the angular side and the Api side?