Laravel 11 Multi Auth: Admin, Teacher, and User | Implement Multiple Authentication Guards

  Рет қаралды 11,994

Ajay yadav

Ajay yadav

2 ай бұрын

In this comprehensive tutorial, we'll guide you through setting up a multi-authentication system in Laravel 11. Learn how to implement custom admin and teacher guards, complete with separate login and register pages for each role. Discover how to create distinct dashboards for each user type, ensuring a smooth and secure user experience.
We'll walk you through the entire process, from setting up the authentication guards to creating individualized routes and views for admins and teachers. By the end of this video, you'll have a strong understanding of how to effectively manage different user roles and permissions within your Laravel 11 application.
Whether you're a beginner or an experienced developer, this tutorial offers valuable insights and practical tips for building a robust and scalable multi-auth system. Don't miss out on this essential guide to mastering Laravel 11's advanced authentication features!
Laravel 11 Multi Auth: Admin, Teacher, and User | Implement Multiple Authentication Guards
Our Playlists:
OOP In PHP:
• OOP - PHP
Git Full Tutorial
• GIT Tutorial
Laravel 9:
• Laravel 9
Vue 3 Laravel 9 Tutorial:
• Vue 3 Laravel 9
Laravel Testing:
• Laravel Testing
Nuxt Js
• NuxtJS
Laravel And Vuejs
• Laravel And Vuejs
Laravel Notifications:
• Laravel Notification
Laravel And React Js
• Laravel ReactJs
Laravel Interview Questions And Answers:
• Laravel Interview Ques...
Laravel User Management System:
• Laravel User Managemen...
Laravel Multi Auth System
• Laravel Multi Auth System
Laravel Vue3 GraphQL
• Laravel Vue 3 GraphQL
Follow us:
YoutTube: / ajayyadavexpo
Instagram: / ajayyadavexpo
Twitter : / ajayyadavexpo
Linkedin: / ajayyadavexpo
Github: github.com/ajayyadavexpo
GitHub Project (Download)
github.com/ajayyadavexpo/lara...
Please subscribe to my channel and share the video with your friends.
#laravel #laravel11 #laravel11multiauth #laravel11tutorial

Пікірлер: 32
@RagibRohan-kq6bl
@RagibRohan-kq6bl 2 ай бұрын
Thank you
@AbuEsa
@AbuEsa 2 ай бұрын
Helpful Content... Thanks❤
@ajay-yadav
@ajay-yadav 2 ай бұрын
Glad to hear that
@user-wj1hn5ys5z
@user-wj1hn5ys5z 2 ай бұрын
which extensions do you use? please suggest.
@skgamer2.027
@skgamer2.027 2 ай бұрын
thanks ❤
@narend
@narend 2 ай бұрын
Thanks sir
@ajay-yadav
@ajay-yadav 2 ай бұрын
Welcome
@sanjcoder4217
@sanjcoder4217 2 ай бұрын
Hello sir. guard-based authentication and role-based which one is best to use?
@ajay-yadav
@ajay-yadav 2 ай бұрын
Both
@user-lg3jf4pl9s
@user-lg3jf4pl9s 14 күн бұрын
mostly in youtube, multi user with role based auth using multi table.
@future_of_coding
@future_of_coding 2 ай бұрын
@ajay-yadav Hello Sir, Thanks for the new knowledge, I expecting that on jetstream and blade, here got some issue Logged in admin/dashboard When type the url admin/login redirect to /login,When user logged out admin also logged out.
@CodeWithMarcelo
@CodeWithMarcelo 2 ай бұрын
i am having the same issue, did you solved it?
@social_media1307
@social_media1307 2 ай бұрын
Sir interview ke technical round me kya kya puchte he uska video banado na
@satishksharma
@satishksharma 2 ай бұрын
Thank you bro for making video on my request. Can we make single login Page for all. You have experience of IT industry so I request you please make video on school management system. How does work on a such type real world Project.
@danish-rg4px
@danish-rg4px 2 ай бұрын
Yes if possible please make video on that
@AbramKhan029
@AbramKhan029 2 ай бұрын
sir, can you make content on API based multi auth ?
@deepakshrestha2409
@deepakshrestha2409 2 ай бұрын
Please do video about websocket in laravel ❤❤❤😊
@ajay-yadav
@ajay-yadav 2 ай бұрын
ok
@MDARH
@MDARH Ай бұрын
I followed your videos and get an error. If I login admin and user at once then try to logout from any of one, both user and admin are going logged out. How can I fix it please!
@ajay-yadav
@ajay-yadav Ай бұрын
try this Auth::guard('admin')->logout();
@MDARH
@MDARH Ай бұрын
I tried this, but the problem was session storing. So I store with different name for both user and admin and when logged out forget only one session, not all. Thanks again.
@Robennhood
@Robennhood 2 ай бұрын
Sir ek api base project bnao sir larawel me
@narend
@narend 2 ай бұрын
Sir redirect sahi nahi kr raha please isme middleware bhi add Karo na
@ajay-yadav
@ajay-yadav 2 ай бұрын
@narend Could you explain that in more detail?
@future_of_coding
@future_of_coding 2 ай бұрын
Logged in admin/dashboard When type the url admin/login redirect to /login,When user logged out admin also logged out.
@narend
@narend 2 ай бұрын
@@future_of_coding yes sir
@narend
@narend 2 ай бұрын
@@future_of_coding same problem
@user-jy9dg7nb9t
@user-jy9dg7nb9t 2 ай бұрын
Make Vue js series
@ajay-yadav
@ajay-yadav 2 ай бұрын
ok, will try
@fmt2586
@fmt2586 28 күн бұрын
you just said and did things, never explained why you did it, you copied and bunch of files and deleted a bunch but didn't even explain anything, no logic, i am not here to copy you know, just a criticism.
@pratimasingh549
@pratimasingh549 2 ай бұрын
sir, ak table me role define karke bhi kar sakte hai.. uske upar ak video kar digiye..
@ajay-yadav
@ajay-yadav 2 ай бұрын
ok sure
1❤️
00:17
Nonomen ノノメン
Рет қаралды 13 МЛН
MEGA BOXES ARE BACK!!!
08:53
Brawl Stars
Рет қаралды 35 МЛН
DO YOU HAVE FRIENDS LIKE THIS?
00:17
dednahype
Рет қаралды 79 МЛН
Creating Laravel 10 Custom Dashboard Admin  Panel
28:37
Zack Orengo
Рет қаралды 10 М.
Pay Your Own Fees - Honest Roadmap for Students⚡
5:26
Tharun Speaks
Рет қаралды 1 МЛН
OAuth 2.0 and OpenID Connect (in plain English)
1:02:17
OktaDev
Рет қаралды 1,7 МЛН
Laravel Interfaces: The Key to Clean and Maintainable Code [HINDI]
24:28
Kubernetes 101 workshop - complete hands-on
3:56:03
Kubesimplify
Рет қаралды 1,6 МЛН