3 months ago

Multiple User Authentication System

Posted 3 months ago by harshamv

I have 3 types of users in my projects.

1. Admin (admin.domain.com)
2. Brands (brand.domain.com)
3. Users (domain.com)

Based on the DB design decision we will have 3 separate tables admins, users and brands. I need to create 3 authentication user types. The Laravel documentation was not helpful in understanding on how this can be achieved.

Coming from rails, we had a very easy way of using namespaces with the devise gem to achieve this. Is there any plugin to achieve this or any guide which I can follow to implement the same.

I am using Laravel 6.

Please sign in or create an account to participate in this conversation.