Laravel 8 multi auth. Redirect users and admins to different pages. Using Laratrust authentication.

Published: 05 February 2021
on channel: Code Fisher
105K
2K

Github repo:

In this video I show how to create laravel 8 multi auth for users like Admin, User, Student, Teacher.... For this laravel 8 authentication I use Laratrust package. We show different page for admin and user, and show different menu for admin and for user. This multi auth system works with laravel 8 fortify, Laravel jetstream, and with LAravel Breeze. After the laravel admin and user login we redirect them to different pages. We using laravel roles and permissions as well.


My twitter:

00:00 Intro
02:42 Setup Laravel Breeze
05:38 Setup Laratrust package
12:22 How to assign rols to users like admin
20:09 How to create a controlller in laravel 8
34:30 How to protect routes for admin and for different type of users


Watch video Laravel 8 multi auth. Redirect users and admins to different pages. Using Laratrust authentication. online without registration, duration 40 minute 32 second in high hd quality. This video was added by user Code Fisher 05 February 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 105 thousand once and liked it 2 thousand people.