Reputation: 897
I'm trying list all the route list using artisan command php artisan route:list
I'm getting following error,
[ErrorException]
You must set the encryption key going forward to improve the security of this library - see this page for more info
rmation https://oauth2.thephpleague.com/v5-security-improvements/
Upvotes: 1
Views: 509
Reputation: 6006
According to the latest oauth-server 5.1.4
update, you should set an encryption key which is not implemented yet in passport 2.x
.
An easy and fast fix to this is by using passport 3.x
which uses oauth-server 6.x
by updating your composer.json
file with:
"laravel/passport": "^3.0"
Then
composer update
or, try
sudo chown www-data:www-data storage/oauth-*.key
sudo chmod 600 storage/oauth-*.key
may be it solve your problem.
Upvotes: 6