How to Use Multiple Authentication Providers in Lumen
What's this blog post about?
This tutorial explains how to use multiple authentication providers in Lumen, a micro-framework built by Laravel. It covers tokenization for authentication, installation and configuration of Laravel Passport, creating controllers and routes, adding guard configurations, testing the application using Postman, and more. The goal is to limit access to routes depending on whether the logged-in user is an admin or not.
Company
Twilio
Date published
Dec. 3, 2021
Author(s)
Kenneth Ekandem
Word count
2408
Hacker News points
None found.
Language
English