Laravel 11 Multi Auth: Admin, Teacher, and User | Implement Middleware #2

preview_player
Показать описание
In this second part of our Laravel 11 Multi Auth series, we delve deeper into implementing middleware for managing user authentication and redirection based on user roles. Watch as we guide you through the process of redirecting different user roles to specific login pages when they are not authenticated.

In this video, we'll cover:

How to create middleware that checks the authentication status of admin, teacher, and regular users.
Redirecting admins to the admin login page, teachers to the teacher login page, and regular users to the general login page.
Ensuring secure and efficient role-based authentication in your Laravel 11 application.
By the end of this tutorial, you'll have a clear understanding of how to manage multi-authentication in your Laravel 11 projects and enhance your application's security.

Don't forget to like, comment, and subscribe for more in-depth tutorials on Laravel and other web development topics!

Laravel 11 Multi Auth: Admin, Teacher, and User | Implement Middleware #2

Our Playlists:

OOP In PHP:
Git Full Tutorial
Laravel 9:
Vue 3 Laravel 9 Tutorial:
Laravel Testing:
Nuxt Js
Laravel And Vuejs
Laravel Notifications:
Laravel And React Js
Laravel Interview Questions And Answers:
Laravel User Management System:
Laravel Multi Auth System
Laravel Vue3 GraphQL

Follow us:

Please subscribe to my channel and share the video with your friends.

#laravel #vuejs #laravel11 #laravel11Middleware #Laravel11AuthSystem #laravel11MultiAuth
Рекомендации по теме
Комментарии
Автор

sir im very impressed with your teaching style 💕💕. Can you upload a video of laravel LMS project. plz in laravel 11

asadferozi
Автор

Sir ek problem or h vo yh h ki LARAVEL 11 m sessions h vo database m store ho raha h or users table ka kar raha hai to Hume use teacher ya other table h agar uska karna hua to kaise hoga, pls tell me

idealwebdeveloper
Автор

This is not available on your GitHub portfolio. I tried the same as your video, but I am getting an error. I thought I would download and match the code, but I did not find this on your GitHub portfolio.

md.imranhossain
Автор

Can you please make a updated version on multi-tenancy using "tenancyforlaravel" for Laravel 11?

getmizan
Автор

@ajayyadav Thanks a lot for quick response, unique way to took us to documentation.

future_of_coding
Автор

Sir, Please make a new video on How to use remember_token in laravel why are use remeber_token use in laravel

ParTHiKMoDI
Автор

sir, plase make a video on why use remember_token use in laravel and hoe can i use in our project

ParTHiKMoDI
Автор

Hi, you don't make logout functionality, If default user logout with other guards user also logout at same time, can you tell me how to handle that problem, Thank you

irfanakram
Автор

Sir isme ek problem h, admin/dashboard pr redirect kr raha but koi user admin/profile page open kare to dubara login page pr redirect kr raha h

narend