Then you need to have the user specify the subdomain on the login page to determine what subdomain you should log in to.
Hyn Muti Tenacy / Multi Database
Hi All,
I have a project which at present works very well using multi tenancy, the App allows users to sign-up via a single registration page https://example.com/reg/. This creates a database and sub-domain for them. I have no issues with login from the multi tenancy side i.e https://subdown.example.com/login/ but i would like all users from all sub-sites to sign in from the https://example.com/login/ Does anyone have any ideas?
From my side im thinking about using the same standard laravel auth system x 2 but dependant on the domain structure, is this the right train of thought or is there an easier way?
Thanks
MB
Please or to participate in this conversation.