Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

MrRobot21's avatar

Authenticating multiple roles in laravel 5.3

Hi awesome people

i'm building an API which has Driver,Agent and Admin models agent will be having a mobile app where as the admin will be given access to Web app.

i want authenticate Agents and Admin as well, i searched for resource hoe to do it but din't get any solution

so for i have installed passport and in User table added a user and tested using POST MAN it's working fine, i'm able to get access token

but i want to do the same authentication for the above models as well, i really don't know how to do it

i'm so confused now, looking forward for much needed help

Thank You

0 likes
0 replies

Please or to participate in this conversation.