Laravel already provides tradition login forms authentication, but imagine if you intend to use APIs? When user login via API, a token is generated and delivered to user which will be used for authentication purposes. Laravel provides Passport to utilize API Authentication without the difficulty. Laravel Passport is a full OAuth2 server implementation; it was built to create easy to use authentication over an API for laravel-based web applications. Let’s see how to setup and configure Laravel Passport for API Authentication and RESTful APIs in a Laravel application.