11 months ago

Separate users tables. One for normal users with socialite and the other one for admins with Laravel out of the box authentication.

Posted 11 months ago by lautaroml

Hello to everyone!

I'm working on a site that needs to set two types of authentications. As the title says, one for normal users who will use the app and they have to register/login with socialite (fb, google, tweeter) and another one for the admins ho will Login with the out of the box laravel authentication system.

I think that there's must be two tables, one for each type of auth.

I have implemented in the past both kind of auth, but in separate app's. Never the two in the same one.

Any help or idea on how to implement this, will be very appreciated!!

Thanks guys!

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