I would use the same login for all, and assign roles to the users. You can still use three different layouts depending on the route, but the actual login should be the same for them all.
Apr 9, 2024
2
Level 1
Laravel on different domains with same database
Hi all, I was reading through some of the 'subdomain' topics but none seem to cover my circumstances.
I have a laravel 9 project that is a client portal for a business. The portal resides on admin.business.com subdomain. I need to make a interface for clients to login and update their information and a separate one for shops(that service these clients) to see calendars etc. So basically, 3 different subdomains that separate data from each other. Can someone advise me the best practice to accomplish this?
Thanks in advance
Please or to participate in this conversation.