Passport is a Laravel package that provides a complete OAuth2 implementation out of the box. It is built on top of the OAuth2 server library by The League of Extraordinary Packages. If you have ever tried to set up an OAuth server, you know it's not easy to get everything right. Now we can install Passport and with some configuration, our application will be OAuth2 ready.

laravel passport

In this Laravel Passport tutorial series, you will learn: ✔ OAuth2 Server ✔ Token Scopes ✔ Refresh Tokens