Sky Chin wrote a nice tutorial on how to work with Laravel Passport.

laravel passport

Laravel Passport adds the capabilities as an OAuth2 server to your Laravel application, which manages how third party accessing to your application data.