Replies: 1 comment
-
Fixed on Passport 13.x via laravel/passport#1768 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In my project I use multiple authentication, I create provider, guards and create 2 personal access clients and add to them my provider to the column provider.
But when I use Auth::guard('api-business')->user() it gets me instanse of User model not BusinessUser, to solve this I add to login
and in vendor\laravel\passport\src\PersonalAccessTokenFactory.php I changed row 72:
Beta Was this translation helpful? Give feedback.
All reactions