laravel / passport

Laravel Passport provides OAuth2 server support to Laravel.
https://laravel.com/docs/passport
MIT License
3.29k stars 780 forks source link

Fix issue multi auth #1606

Closed michaelnabil230 closed 1 year ago

michaelnabil230 commented 1 year ago

This PR is to fix the issue of multi-auth

See: https://github.com/laravel/passport/issues/1604

And I need help for fix the unit test and creating a new test for a multi-auth

driesvints commented 1 year ago

As I said in https://github.com/laravel/passport/issues/1604 it's not meant to use multi-auth with personal access tokens.

I also very much recommend to use Sanctum instead of Passport if you need personal access tokens: https://laravel.com/docs/9.x/sanctum

taylorotwell commented 1 year ago

I honestly am not even sure what the word "multi-auth" means. 🤔

Not sure I want to keep messing with Passport for the time being.