Laravel 11 Multi Guard Authentication Tutorial | Multiple authentication for User & Admin in Laravel

  Рет қаралды 19,904

Funda Of Web IT

Funda Of Web IT

Күн бұрын

In this video, I have taught how to create a multi guard authentication in laravel 11 step by step tutorial in detail. Where we are creating Admin Guard for Authentication.
Post - Source Code: www.fundaofweb...
Follow us on Instagram: / funda_of_web_it
Subscribe to my Hindi/Urdu Channel: / fundaofwebithindi

Пікірлер: 32
@omprakashn8627
@omprakashn8627 5 ай бұрын
Great video! Explained very clearly step by step. Thank you.
@rahmasamy7463
@rahmasamy7463 2 ай бұрын
Is that the best way for check role or make user in one table and add attribute for checking roles by middle ware ?
@datafaeri
@datafaeri Ай бұрын
kzbin.info/www/bejne/pZjJeYJ4Zp1-ftU
@waleedeassa889
@waleedeassa889 2 ай бұрын
Thank you sir . how can apply Authentication and Redirect if authenticated Middlewares ?
@datafaeri
@datafaeri Ай бұрын
kzbin.info/www/bejne/pZjJeYJ4Zp1-ftU
@vm_____rr1
@vm_____rr1 Ай бұрын
This is insane. I don't know how is this still a trending in development world!! 😢 Every development tutorial maker is making two authentication pages (register page for custom user and other page for Admin and login pages the same!) So, what they mean is that if i have 7 user's it mean i have to prepare 7 registration pages for each user. Instead of using only one route for login and registration.
@archiealvarado8831
@archiealvarado8831 5 күн бұрын
he teaches to complicated.
@andymasarque4004
@andymasarque4004 3 ай бұрын
Hi. How can I add the import button when I right click?
@fundaofwebit
@fundaofwebit 3 ай бұрын
Please install the extension: PHP Namespace Resolver
@getcsefied4184
@getcsefied4184 3 ай бұрын
Sir , first of all huge thanks to u , for this effort...multi role in next video means , are u referring spatie video ? @fundofwebit
@datafaeri
@datafaeri Ай бұрын
kzbin.info/www/bejne/pZjJeYJ4Zp1-ftU
@RosyLaventura
@RosyLaventura 2 ай бұрын
can you do 3 users, 3rd one is owner?
@avishkabandara6453
@avishkabandara6453 2 ай бұрын
useful video
@a.aliyev1036
@a.aliyev1036 4 ай бұрын
Great job
@ishaqhaj6783
@ishaqhaj6783 Ай бұрын
Hey, but anyone can be an admin, if someon try like website/admin
@pkp4761
@pkp4761 3 ай бұрын
would this work without laravel breeze?
@datafaeri
@datafaeri Ай бұрын
kzbin.info/www/bejne/pZjJeYJ4Zp1-ftU
@rafaelbani8892
@rafaelbani8892 3 ай бұрын
why i dont have auth folder on my app folder?
@fundaofwebit
@fundaofwebit 3 ай бұрын
Please run the below 2 commands: 1. composer require laravel/breeze --dev 2. php artisan breeze:install blade That's it. You will find all the auth files.
@two-zero
@two-zero 4 ай бұрын
Thank you bro.
@tvjklove4556
@tvjklove4556 5 ай бұрын
Sir can you share this code please?
@datafaeri
@datafaeri Ай бұрын
kzbin.info/www/bejne/pZjJeYJ4Zp1-ftU
@skyand_fly
@skyand_fly 3 ай бұрын
Why i dont have auth.php?
@fundaofwebit
@fundaofwebit 3 ай бұрын
@skyand_fly Please run the below 2 commands: 1. composer require laravel/breeze --dev 2. php artisan breeze:install blade That's it. You will find the auth.php file under routes folder.
@skyand_fly
@skyand_fly 3 ай бұрын
@@fundaofwebit thank you! I found you video about breeze logining. You have good content. Don't stay. Hello from Russia
@skyand_fly
@skyand_fly 3 ай бұрын
@@fundaofwebit I do not understand how to do it if the user goes to the admin panel so that he is redirected to the login page for the administrator (admin/login) and not the general login page (/login)
@fundaofwebit
@fundaofwebit 3 ай бұрын
​@@skyand_fly If you access (/admin/dashboard), and wanted to redirect to (/admin/login) page. follow below steps: 1. Go to bootstrap/app.php 2. in the ->withMiddleware() function. add these code : $middleware->redirectGuestsTo(function (Request $request) { if ($request->is('admin/*')) { return route('admin.login'); } return route('login'); }); 3. That's it.
@skyand_fly
@skyand_fly 3 ай бұрын
​@@fundaofwebit thank you, but this doesnt work((
Из какого города смотришь? 😃
00:34
МЯТНАЯ ФАНТА
Рет қаралды 2,3 МЛН
1, 2, 3, 4, 5, 6, 7, 8, 9 🙈⚽️
00:46
Celine Dept
Рет қаралды 108 МЛН
Gather DNS Information using nslookup and Online Tool
3:39
Laravel + Livewire todo app (and so much more)
16:41
Aaron Francis
Рет қаралды 50 М.
Auth Multi Roles Login with Custom Middleware in Laravel 9
16:50
Cambo Tutorial
Рет қаралды 53 М.
04 - Authenticating Users in #laravel
13:15
Laravel
Рет қаралды 49 М.