Laravel Passport Trying to get property ‘secret’ of non-object
THIS IS FOR LARAVEL 8 AND LARAVEL/PASSPORT The first thing is to run theĀ php artisan passport:install. Inside your database tableĀ oauth_clients, under columnĀ name, look forĀ Laravel Personal Access Client. Copy the secret beside Laravel Personal Access Client. OpenĀ AuthServiceProvider, then paste the secret inside theĀ bootĀ method where theĀ CLIENT_SECRETĀ is below: And don’t forget to also add the ID of the secret from your … Read more