Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Multi tenancy without sub-domain support (angular2) #2801


User avatar
0
paradoxit created

I would like to offer users to sign in with an email address which is used to determine their tenant.

I have restricted usernames to be the email address, what system changes are required to make this work. I assume I will need to create a service which takes a username and returns the tenant key and id.

Has anyone achieved this or is there any advice on which UI and API methods need updating to support this.

Thanks in advance,

David Hawkins


1 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    You can refer to this document <a class="postlink" href="https://aspnetboilerplate.com/Pages/Documents/Multi-Tenancy#determining-current-tenant">https://aspnetboilerplate.com/Pages/Doc ... ent-tenant</a>. Basically, in your case you are going to determine tenant in the Login action of Account Controller.