I followed the documentation and configured Laravel Passport as mention here https://laravel.com/docs/5.3/passport
but am getting the error
Key path "file://C:\wamp64\www\blog\storage\oauth-public.key" does not exist or is not readable
For users using wamp on windows, download openssl from https://code.google.com/archive/p/openssl-for-windows/downloads and extract it. Add the path /bin to environment variables and then run
php artisan passport:install
I had that error too, If you are on windows the command
php artisan passport:keys
needs openssl program, If you using xampp, then you already have that program on
C:\xampp\apache\bin
so add that path to system variables "if you need help with that just comment, I'll help you" after adding it run the command
php artisan passport:keys
and make sure that it worked by looking in your storage folder, you should find the missing .key files
If you are on a Mac OS then go to the terminal and make sure you are in your directory. The best steps to do are the following:
composer update
php artisan migrate
php artisan passport:install
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With