Key path file:///home/steve/Documents/dev/zatec-hub-test/app/storage/oauth-public.key does not exist or is not readable code example

Example 1: Key path "file:///home/lebohang/Workspace/Travsim/sim2go api/storage/oauth-private.key" does not exist or is not readable

php artisan passport:install

Example 2: Key path "file:///home/user/projectname/storage/oauth-public.key" does not exist or is not readable

#Install passport
composer require laravel/passport

#Register the service provider in config/app.php
Laravel\Passport\PassportServiceProvider::class,

#Run the migrations
php artisan migrate

#Generate key
php artisan passport:install

Tags:

Go Example