how to implement multiauth in laravel passport

后端 未结 2 1434
既然无缘
既然无缘 2021-01-19 01:48

I have two users admin/user i want to authenticate this two users for api, it is working for one user but its not working for admin

see what i have tried in admin c

2条回答
  •  情歌与酒
    2021-01-19 02:00

    I managed to do it through middleware, hopefully, this will help you - Laravel Passport Multiple Authentication using Guards

提交回复
热议问题