passport: Laravel Passport Error - ServerException in RequestException.php line 107:
Hello,
Need some help, please.
I followed the tutorial What’s New in Laravel 5.3: Laravel Passport (https://laracasts.com/series/whats-new-in-laravel-5-3/episodes/13) step by step and i have this error:
ServerException in RequestException.php line 107: Server error: POST http://latest.dev/oauth/token resulted in a 500 Internal Server Error response: SQLSTATE[42S02]: Base table or view not found: 1146 Table ‘consumer.oauth_clients’ doesn’t exist (SQL: select * from `oa (truncated…)

latest.dev

consumer.dev

About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 17
Hi guys. I had the same problem, but when I copied the database settings that were in
.envtoconfig/database.phpand ran thephp artisan config:cachecommand it worked. I am using two applications on the same notebook, one on port 7305 and one on port 7309 using windows and xampp.Hi this is not a big issue just to implement it on server you must
Run the following command
php artisan serve
and replace the paths passport.dev to http://127.0.0.1:8000
and try again then it will work
@HassanMahmoudd, Okay thanks. I solve my problem using 2 laptops. I separate server and consumer in difference laptops.