Use the same users table and just have different tables with the meta data needed for each. And the sign up part is completely in your control. Just force different validation on each page
Authentication for separate systems
I am currently working on a e-commerce wich has a CMS for managing content that will be shown in the site and product related configurations such as pricing, shipping, etc. In the same project I have the e-commerce itself, where clients will have to signup and login to be able to buy. The login of the CMS and of the site have different fields for login and signup; for example, the CMS doesn't require the user to add an address to their account, but the site does. So my doubt is, how should I build the auth system for both the CMS and site, knowing they'll need to have different fields and are in the same Laravel project?
@BernardoBF4 if they are the same site, then I would stick to 1 users table. Trust me. You will save yourself a lot of time down the road if you don't have to handle auth for two tables. You can even add a type column to the table.
Or make 2 completely seperate sites, if they have nothing to do with each other
Feel free to let others give their opinions as well
Please or to participate in this conversation.