Hello,
I want to use laravel passport in lumen 8 with mongodb
For that i USE jenssegers/mongodb
module and also use dusterio/lumen-passport
which is working fine with MySql but not working for mongodb
It's also working after some changes in vendor directory vendor/laravel/passport/src
(change DB model to jenssegers model)
Please guide me how i overwrite that files?
Also check kayrules/lumen-passport-mongodb
extension is not working for PHP 7.4
Please help for that
Hey,
you can override the models used in passport according to the passport docs, no need to change stuff in the vendor directory (never do that): https://laravel.com/docs/8.x/passport#overriding-default-models
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community