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…) passport issue 1

latest.dev

passport issue 2

consumer.dev

passport issue 3

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 17

Most upvoted comments

I have the some error but only in windows, in my osx run perfectly. Did you find the solution for this?

Hi guys. I had the same problem, but when I copied the database settings that were in .env to config/database.php and ran the php artisan config:cache command 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.