Laravel Passport provides OAuth2 server support to Laravel with MongoDB Jenssegers.


Laravel Passport support for MongoDB projects using Jenssegers.


Require library Jenssegers/laravel-mongodb

Official Documentation

Documentation for Passport can be found on the Laravel website.


Install requeriments

Installation using composer

composer require jenssegers/mongodb

See more in Jessegers installation docs for settings providers and database.

Install Laravel Passport MongoDB

Installation using composer

composer require solucionatico/laravel-passport-mongodb:7.0.2

Follow the installation guide from Laravel Passport installation docs

Except step for composer required :-D

Update AuthServiceProvider.php in app/Providers

Add line:

use Laravel\Passport\Passport;


Laravel Passport is open-sourced software licensed under the MIT license.