Laravel 11 Multiple Authentication | User & Admin | Multi Guard Authentication | PHP Tech Life Hindi

  Рет қаралды 46,017

PHP TECH LIFE

PHP TECH LIFE

Күн бұрын

Пікірлер: 71
@chandanv-1010
@chandanv-1010 4 ай бұрын
Fantastic tutorial on Laravel 11 multiple authentication! The way you explained user and admin multi-guard authentication is really clear. I'm also creating a series on this topic. Keep it up!
@imalirazaa
@imalirazaa 9 ай бұрын
Sir u r doing such a great Job Thank u so much for these amazing tutorials.. Plz make a tutoril series on Point Of sale and inventory management system in laravel 11 Thank u... Love From Pakistan ❤
@usmraf786
@usmraf786 9 ай бұрын
Very good tutorial, Thanks very much Sir
@asifali-fc8xt
@asifali-fc8xt 9 ай бұрын
Best lecture with good presentation
@randsmmc
@randsmmc Ай бұрын
tysm sir, very good tutorial
@abacusdotcom
@abacusdotcom 9 ай бұрын
You are the best. Even I speak English, I grabbed every detail discussed. Thanks.
@PHPTechLife
@PHPTechLife 9 ай бұрын
Thanks for your kind words.
@muhammadnaveed7953
@muhammadnaveed7953 9 ай бұрын
Thank you Sir g. You are doing a great job...
@umarfarooq-mq1to
@umarfarooq-mq1to 9 ай бұрын
Thanks sir you are doing great job
@swarajjumde8456
@swarajjumde8456 3 ай бұрын
hey sir but when the admin user trying to access at account/login its still working ??
@Not_Casual_Not_Anymore
@Not_Casual_Not_Anymore 9 ай бұрын
Good Work Buddy , May your Hard Word pays off
@PHPTechLife
@PHPTechLife 9 ай бұрын
Thanks for your kind words.
@HassanIdrees-ju2cv
@HassanIdrees-ju2cv 8 ай бұрын
Thanks very much Sir🥰🥰
@solfulsong
@solfulsong 4 ай бұрын
Sir ap kon si extension use kr raha hai ka jo bhi ap use krta facad or routes wo auto import ho jata hain
@PHPTechLife
@PHPTechLife 4 ай бұрын
kzbin.info/www/bejne/nJychHmZqcl-prc
@adull3376
@adull3376 5 ай бұрын
Thank you sir🎉🎉
@pranavjoshi4011
@pranavjoshi4011 4 ай бұрын
after logout admin why it's redirecting again account/login url i have done this commands also php artisan cache:clear php artisan route:clear php artisan config:clear php artisan config:cache php artisan view:clear php artisan optimize:clear instead of i am not able to access admin/login url in same browser tab why ?
@beyondearthtv759
@beyondearthtv759 2 ай бұрын
thank you for this tutorial sir
@PHPTechLife
@PHPTechLife 2 ай бұрын
Glad it helped you.
@PolixOpos
@PolixOpos Ай бұрын
good tutorial, but have you done anything in AdminAuthenticate::class ?? If yes then please can you mention its path when it shows in the video ?
@i_manish_12
@i_manish_12 2 ай бұрын
One can also add a check in user login if the role is admin then he cannot login as user
@Itssaqi06
@Itssaqi06 6 ай бұрын
Keep growing!
@amitupadhyay789
@amitupadhyay789 6 ай бұрын
Can we have role drop-down in register page and according when individuals goes to login and it redirect to the dash board page of selected role according selected while registering...if so...how can it be done
@technoknowledge4430
@technoknowledge4430 7 ай бұрын
sir is me ek masla hai me admin ke liye alag login page q banao muje ager user me hi login karna ho admin ko to kase karo job me login karo tu wo user ke dashboard me chala jye or jb me admin ka login password dalo tu wo admin ke dashboard me chala chiye ye kase hoga
@ramanitushar07
@ramanitushar07 4 ай бұрын
Sir ak error arahi he ki user role vala admin me login hota he to admin\authenticate me Internal Server Error a raha hee to me kya karu?
@bushra_ways
@bushra_ways 7 ай бұрын
laravel Breeze include this all then why we create this ?
@tusharnain6652
@tusharnain6652 3 ай бұрын
How does the single session table in database gonna workk, where we login as admin and user, i think sessions table has user_id fileld foreignkey refernce to id fo users table,how is that gonna work with Admin beign logged in?
@Cartoonsplay9910
@Cartoonsplay9910 3 ай бұрын
admin authentication start is - 46:08
@narend
@narend 9 ай бұрын
Please sir create video for multi auth with multi table
@lingarajbhuvan1404
@lingarajbhuvan1404 9 ай бұрын
good job sir
@junaidiqbal5991
@junaidiqbal5991 7 ай бұрын
How to do it with same with Laravel Breeze? please advice
@PHPTechLife
@PHPTechLife 7 ай бұрын
Need to create a separate video.
@NikunjJoshi-o5p
@NikunjJoshi-o5p 2 ай бұрын
Try to make video on authentication user on different tables not just based on one field.
@junaidashiq766
@junaidashiq766 9 ай бұрын
Sir i need Urgent reply , agar mujhy ye kam Gate ke through krna ha to wo kesey karunga kiya tab mujhy guard ki zarort nhi parni ?
@madforcode
@madforcode 3 күн бұрын
After login admin shouldn't have access to register page. Please fix this bug.
@narend
@narend 9 ай бұрын
Sir customer or admin ko seprate table me add karo na
@shyamradadiya7714
@shyamradadiya7714 5 ай бұрын
Sir agar hame admin ka id and password change karna hoto kya kare please batao muje
@jprathod16a
@jprathod16a 7 ай бұрын
"I will share source code in couple of days." i do not understand for source code option i want to source code pl
@PHPTechLife
@PHPTechLife 7 ай бұрын
sorry for inconvenience will add link of source code very soon.
@future_of_coding
@future_of_coding 9 ай бұрын
@PHPTechLife Hello Sir thanks for another great tutorial, Looking for spatie authentication and laravel Fortify can you make two tutorial on this topic.
@PHPTechLife
@PHPTechLife 9 ай бұрын
Yes, I can try.
@codeaddiction4u597
@codeaddiction4u597 6 ай бұрын
Auth guard [admin] is not defined. showing this errer
@shubhrasingh6106
@shubhrasingh6106 2 ай бұрын
define it in config/auth.php like this 'guards' => [ 'web' => [ 'driver' => 'session', 'provider' => 'users', ], 'admin' => [ 'driver' => 'session', 'provider' => 'admins', ], ], 'providers' => [ 'users' => [ 'driver' => 'eloquent', 'model' => env('AUTH_MODEL', App\Models\User::class), ], 'admins' => [ 'driver' => 'eloquent', 'model' => env('AUTH_MODEL', App\Models\Admin::class), ], // 'users' => [ // 'driver' => 'database', // 'table' => 'users', // ], ],
@shubhrasingh6106
@shubhrasingh6106 2 ай бұрын
i have created different table for Admin so i am using .. 'model' => env('AUTH_MODEL', App\Models\Admin::class), in provider ,,, you can use your table model
@rupeshsharma2462
@rupeshsharma2462 9 ай бұрын
Nyce one
@viralvadera3323
@viralvadera3323 8 ай бұрын
For two login can't i just: if(Auth::attempt(['email' => $request->email,'password' => $request->password])){ $user = Auth::user(); if ($user->role == 'admin') { return redirect()->route('admin.dashboard'); } elseif ($user->role == 'user') { return redirect()->route('account.dashboard'); } }
@PHPTechLife
@PHPTechLife 8 ай бұрын
Yes, you can follow this.
@abhinav3368
@abhinav3368 7 ай бұрын
Try This: if(Auth::attempt(['email' => $request->get('email'), 'password' => $request->get('password')])) { // } { // }
@pramodJohri15
@pramodJohri15 9 ай бұрын
Hello sir. Jab account/login pe admin ko login kra rahe hai to login ho rha hai but admin dashboard pe nahi ja rha page account.dashboard pe hit ho rha hai. Jabki main admin ko admin/login kra hun to admin dashboard open ho rha. Jo ki theek hai but.. Ye possible hai kya sir ya fir bugs error hai pl tell me asap
@PHPTechLife
@PHPTechLife 9 ай бұрын
on account/login, admin can login as a customer
@shabnam9519
@shabnam9519 8 ай бұрын
​@@PHPTechLife hey how we can stop admin to login as users? Please tell
@tirtho.b
@tirtho.b 7 ай бұрын
This page isn’t working127.0.0.1 redirected you too many times. Try deleting your cookies. ERR_TOO_MANY_REDIRECTS after 46:15
@AbdelrahmanEl.Monshed
@AbdelrahmanEl.Monshed 8 ай бұрын
hello every one can u mention Admin login controller
@aruproy2983
@aruproy2983 2 ай бұрын
OP video
@GoChettries
@GoChettries 9 ай бұрын
Sir i need your 15min time to solve my issue in laravel. could you please help me out ?
@PHPTechLife
@PHPTechLife 9 ай бұрын
you can message me at insta and I will try to help you.
@abhi_84ya
@abhi_84ya 8 ай бұрын
make a project laravel with jquery ajax
@PHPTechLife
@PHPTechLife 8 ай бұрын
There is already a complete playlist on Laravel where I used ajax. kzbin.info/www/bejne/eWTbf32Mqd2Ne9U
@sgworld1670
@sgworld1670 5 ай бұрын
Sir source code kabh karoge update
@shyamradadiya7714
@shyamradadiya7714 5 ай бұрын
Admin ka id and password kaise change kare
@Abdullah2588
@Abdullah2588 8 ай бұрын
where is source code
@tinaPaiSaMainitNaKape
@tinaPaiSaMainitNaKape 2 ай бұрын
where is the source code?
@narend
@narend 9 ай бұрын
Sir customer or Admin kabhi same table me nahi hote
@PHPTechLife
@PHPTechLife 9 ай бұрын
For different table you can define a different model in providers, please watch the video first. You also can find a video on my channel where I used different table for multi auth.
@viralvadera3323
@viralvadera3323 8 ай бұрын
If you are collecting the same data from both types of users, it is better to have an extra column rather than an entire table.
@SARIKAGAUTAM-i8e
@SARIKAGAUTAM-i8e 4 ай бұрын
i need sourcecode
@hwaheed-z7n
@hwaheed-z7n 6 ай бұрын
hi . please sir share source code. thanks
@kavinkumar8637
@kavinkumar8637 5 ай бұрын
source code?
@OmarFaruk-hi2zx
@OmarFaruk-hi2zx 3 ай бұрын
Source code?
Quando A Diferença De Altura É Muito Grande 😲😂
00:12
Mari Maria
Рет қаралды 45 МЛН
Tuna 🍣 ​⁠@patrickzeinali ​⁠@ChefRush
00:48
albert_cancook
Рет қаралды 148 МЛН
人是不能做到吗?#火影忍者 #家人  #佐助
00:20
火影忍者一家
Рет қаралды 20 МЛН
Create Admin Panel in Laravel using Filament Step by Step
18:36
Web Tech Knowledge
Рет қаралды 68 М.
What’s Up with Laravel? It’s Everywhere, and Here’s Why!
6:22
Building Secure Multi-Auth Systems in Laravel 11 with Laravel Breeze
29:36
Quando A Diferença De Altura É Muito Grande 😲😂
00:12
Mari Maria
Рет қаралды 45 МЛН