andriajah Sat Sep 2021 2 years ago
Laravel 8 Multi Guards Authentication
Keep normal users in user table , admins create another table as admin and doctors create another table as doctor.
In this tutorial we'll use guard to create this multi authentication system.
Source Code:
https://github.com/Mbere250/Laravel-8-Multi-Guards-Authentication
Related videos:
- Laravel 8 Multi Auth based on Roles
https://youtu.be/sKyMRdzYgXw
- CodeIgniter 4 Authentication | Login, Register & Filters | Codeigniter 4 tutorial [HD]
https://youtu.be/vKFcpQo-h-Q
---- Chaps -----
0:00 - Intro
0:45 - Creating database
1:58 - Installing Laravel Auth Ui
4:18 - Create Users Table
4:45 - Inserting new user and check user
5:53 - Create UserController for normal users
6:35 - Create user route group for normal users
9:22 - Design users login page
10:26 - Design users register page
11:05 - Normal User auth functionality
30:27 - Admin auth functionality
48:33 - Doctor auth functionality
1:11:50 - Overview irebe library multi guards laravel 8 multi guards multi guards authentication authentication auth