Reputation: 1
I've got a problem when I write the command :
php artisan passport:client –password password
Upvotes: 0
Views: 870
Reputation: 11434
Remove the last password
part. The docs tell you to just run:
php artisan passport:client --password
The --password
keyword is to specify the type of client, not to specify a password.
If you run php artisan passport:client --help
you'll see descriptions of the different client types:
Description:
Create a client for issuing access tokens
Usage:
passport:client [options]
Options:
--personal Create a personal access token client
--password Create a password grant client
--client Create a client credentials grant client
Upvotes: 1