Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Sabbir345's avatar

"Personal access client not found. Please create one. " in Laravel Passport

I am using laravel passport. When i am locally testing my api with postman there is no problem when i am testing with my main domain then postman give me a error.

error : Personal access client not found. Please create one.

0 likes
5 replies
tokoiwesley's avatar

Have you run this command in the test environment?

php artisan passport:client --personal
3 likes
Desun's avatar

I think you should try this command. It solved my problem

php artisan passport:install

5 likes
abdelazizmirasoft's avatar

I solved this issue by including the following instruction php artisan passport:client --personal inside the DatabaseSeeder.php so each time I need to refresh my database I do seeding also and it works properly Original answer: stackoverflow.com/a/78812542/2114983

1 like

Please or to participate in this conversation.