if you need to use passport with mongodb you must change the model referenced in the passport install (Compatible with Laravel 9) you need just run $ php artisan passport:normalize