If you're trying to fire off an event in your command line when posting something in Postman, I can tell you that this is not going to work!
Instead, you need to utilize the code to generate a token instead
use Laravel\Passport\ClientRepository;
public function __construct(ClientRepository $clientRepository)
{
$this->clientRepository = $clientRepository;
}
public function handle()
{
$user = User::first();
$client = $this->clientRepository->createPasswordGrantClient($user->id, '', 'http://localhost');
}
All classes behind the password commands can be used in your own benefit, like the example above ;)