akram hossen
akram hossen

Reputation: 1

Too many arguments, expected arguments "command". laravel graphql passport

I've got a problem when I write the command :

php artisan passport:client –password password

Upvotes: 0

Views: 870

Answers (1)

D Malan
D Malan

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

Related Questions