Learn how to do multi-model auth with AdonisJS and Lucid
👍 If You Enjoy This Video, Consider Hitting The Like Button!
🥁 Subscribe To Stay Notified For New Videos: https://www.youtube.com/adocasts?sub_...
📕 Read & View on Adocasts: https://adocasts.com/lessons/how-to-d...
🧾 Find The Code For This Lesson Here: https://github.com/adocasts/lucid-mul...
In this lesson, we'll learn how to set up multi-model authentication using a User and Admin model with AdonisJS and Lucid ORM. We'll define custom auth guards and providers for each model, then learn how to use those guards and determine which guard our currently authenticated users are using.
🎬 Check Out More Videos Here:
AdonisJS & InertiaJS 1.0: • Adonis & Inertia - EP1.0: How to add ...
AdonisJS Auth in 15 Minutes: • AdonisJS Authentication in 15 Minutes
AdonisJS Quick Tips: • AdonisJS Quick Tip
Let's Learn AdonisJS 5: • Let's Learn Adonis 5
-------------------------Socials--------------------------
🕸️Website: https://adocasts.com
🐦Twitter: / adocasts
👍 GitHub: https://github.com/adocasts