Laravel Authentication Several Different User Types

Asked

Viewed 1,077 times

0

I need direction guidance on how I will separate my authentications by user type...

My application has 3 types of users, each with its own Dashboard and specific admin panel, adminGeral(eu), business and consumers.

I leave everyone in the same user table and connect it with my 3 entities, or create a separate authentication for each?

What would be the possibilities? And what would be the advantages and disadvantages of each?

2 answers

1

  • 1

    Can you put important parts of that video here in the answer? So the answer is more useful for others who have the same problem and does not depend only on the link.

1

I work with different tables one for each type. If it is the Laravel 5.1 has this very good package kbwebs/multiauth

In 5.2 you can already make these multiple authentications.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.