mardi 5 février 2019

Laravel Passport - Specify Database Connection

is it possible to specify which database Passport uses? I have 2 databases, the second being the one that contains all the Laravel stuff (Users, Passport, etc).

When trying to login using my VueJS front-end I'm getting this error because it's looking at the default database.

"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'portalto_dbase.oauth_personal_access_clients' doesn't exist (SQL: select exists(select * from `oauth_person

How can I have all user authentication stuff to go through the second database?



from Newest questions tagged laravel-5 - Stack Overflow http://bit.ly/2Dl8JXt
via IFTTT

Aucun commentaire:

Enregistrer un commentaire