Category: Laravel, api

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.
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge. Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge.
Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Shirts painstakingly handcrafted by under-caffeinated developers. Shirts painstakingly handcrafted by under-caffeinated developers.
Community Partners