@krasman I’m going to take a guess that you haven’t added a Passport user guard yet:
Jul 7, 2025
3
Level 1
Passport setup is breaking
Laravel 12 app built with Laravel installer. Windows 11, php v8.2.12
I'm attempting to configure my laravel 12 api application to use passport. One of the steps presented in the tutorial I'm following is to create a client, e.g.,
$ php artisan passport:client --personal
and when I run this I get this prompt:
$ php artisan passport:client --personal
What should we name the client? [Laravel]
❯
and simply accepting the default name (I've attempted to use other names and it didn't like that) I get:
LogicException
Choice question must have at least 1 choice available.
at vendor\symfony\console\Question\ChoiceQuestion.php:38
34▕ private array $choices,
35▕ string|bool|int|float|null $default = null,
36▕ ) {
37▕ if (!$choices) {
➜ 38▕ throw new \LogicException('Choice question must have at least 1 choice available.');
39▕ }
40▕
41▕ parent::__construct($question, $default);
42▕
...
Is there a bug for this? Can I file one? Am I stuck trying to fix this myself?
Please or to participate in this conversation.