php - Laravel 5.8 Passport "resulted in a `401 Unauthorized`"
one text
Solution:
It seems that in this line:
'username' => $request->name,
You may set username with wrong value. make sure that your username field name is correct.
Sourceone text
It seems that in this line:
'username' => $request->name,
You may set username with wrong value. make sure that your username field name is correct.
Source