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

  Рет қаралды 44,212

PHP TECH LIFE

PHP TECH LIFE

Күн бұрын

Пікірлер: 70
@chandanv-1010
@chandanv-1010 3 ай бұрын
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!
@randsmmc
@randsmmc 18 күн бұрын
tysm sir, very good tutorial
@muhammadnaveed7953
@muhammadnaveed7953 9 ай бұрын
Thank you Sir g. You are doing a great job...
@asifali-fc8xt
@asifali-fc8xt 8 ай бұрын
Best lecture with good presentation
@Not_Casual_Not_Anymore
@Not_Casual_Not_Anymore 8 ай бұрын
Good Work Buddy , May your Hard Word pays off
@PHPTechLife
@PHPTechLife 8 ай бұрын
Thanks for your kind words.
@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.
@usmraf786
@usmraf786 8 ай бұрын
Very good tutorial, Thanks very much Sir
@adull3376
@adull3376 5 ай бұрын
Thank you sir🎉🎉
@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 ❤
@umarfarooq-mq1to
@umarfarooq-mq1to 9 ай бұрын
Thanks sir you are doing great job
@beyondearthtv759
@beyondearthtv759 Ай бұрын
thank you for this tutorial sir
@PHPTechLife
@PHPTechLife Ай бұрын
Glad it helped you.
@HassanIdrees-ju2cv
@HassanIdrees-ju2cv 8 ай бұрын
Thanks very much Sir🥰🥰
@solfulsong
@solfulsong 3 ай бұрын
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 3 ай бұрын
kzbin.info/www/bejne/nJychHmZqcl-prc
@swarajjumde8456
@swarajjumde8456 2 ай бұрын
hey sir but when the admin user trying to access at account/login its still working ??
@pranavjoshi4011
@pranavjoshi4011 3 ай бұрын
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 ?
@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 ?
@technoknowledge4430
@technoknowledge4430 6 ай бұрын
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
@Cartoonsplay9910
@Cartoonsplay9910 3 ай бұрын
admin authentication start is - 46:08
@lingarajbhuvan1404
@lingarajbhuvan1404 9 ай бұрын
good job sir
@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
@ramanitushar07
@ramanitushar07 3 ай бұрын
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?
@amitupadhyay789
@amitupadhyay789 5 ай бұрын
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
@narend
@narend 9 ай бұрын
Please sir create video for multi auth with multi table
@junaidiqbal5991
@junaidiqbal5991 7 ай бұрын
How to do it with same with Laravel Breeze? please advice
@PHPTechLife
@PHPTechLife 7 ай бұрын
Need to create a separate video.
@Itssaqi06
@Itssaqi06 6 ай бұрын
Keep growing!
@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?
@bushra_ways
@bushra_ways 6 ай бұрын
laravel Breeze include this all then why we create this ?
@narend
@narend 9 ай бұрын
Sir customer or admin ko seprate table me add karo na
@junaidashiq766
@junaidashiq766 8 ай бұрын
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 ?
@NikunjJoshi-o5p
@NikunjJoshi-o5p 2 ай бұрын
Try to make video on authentication user on different tables not just based on one field.
@rupeshsharma2462
@rupeshsharma2462 9 ай бұрын
Nyce one
@shyamradadiya7714
@shyamradadiya7714 5 ай бұрын
Sir agar hame admin ka id and password change karna hoto kya kare please batao muje
@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
@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.
@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.
@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
@pramodgautam07
@pramodgautam07 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 7 ай бұрын
​@@PHPTechLife hey how we can stop admin to login as users? Please tell
@AbdelrahmanEl.Monshed
@AbdelrahmanEl.Monshed 8 ай бұрын
hello every one can u mention Admin login controller
@aruproy2983
@aruproy2983 Ай бұрын
OP video
@viralvadera3323
@viralvadera3323 7 ай бұрын
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 7 ай бұрын
Yes, you can follow this.
@abhinav3368
@abhinav3368 6 ай бұрын
Try This: if(Auth::attempt(['email' => $request->get('email'), 'password' => $request->get('password')])) { // } { // }
@sgworld1670
@sgworld1670 4 ай бұрын
Sir source code kabh karoge update
@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.
@SARIKAGAUTAM-i8e
@SARIKAGAUTAM-i8e 4 ай бұрын
i need sourcecode
@tinaPaiSaMainitNaKape
@tinaPaiSaMainitNaKape Ай бұрын
where is the source code?
@kavinkumar8637
@kavinkumar8637 4 ай бұрын
source code?
@abhi_84ya
@abhi_84ya 7 ай бұрын
make a project laravel with jquery ajax
@PHPTechLife
@PHPTechLife 7 ай бұрын
There is already a complete playlist on Laravel where I used ajax. kzbin.info/www/bejne/eWTbf32Mqd2Ne9U
@Abdullah2588
@Abdullah2588 7 ай бұрын
where is 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 7 ай бұрын
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.
@hwaheed-z7n
@hwaheed-z7n 6 ай бұрын
hi . please sir share source code. thanks
@shyamradadiya7714
@shyamradadiya7714 5 ай бұрын
Admin ka id and password kaise change kare
@OmarFaruk-hi2zx
@OmarFaruk-hi2zx 2 ай бұрын
Source code?
Une nouvelle voiture pour Noël 🥹
00:28
Nicocapone
Рет қаралды 9 МЛН
Don’t Choose The Wrong Box 😱
00:41
Topper Guild
Рет қаралды 62 МЛН
Соболь НН 4х4 -мы его разберем полностью.
41:25
Клубный сервис
Рет қаралды 197 М.
What’s Up with Laravel? It’s Everywhere, and Here’s Why!
6:22
UFC 311: Пресс-конференция
25:45
UFC Eurasia
Рет қаралды 441 М.
Laravel 11 Tutorial for Beginners - Laravel Crash Course (2024)
1:22:20
The Codeholic
Рет қаралды 236 М.
Laravel Tutorial For Beginners (Simple User CRUD App)
1:16:13
LearnWebCode
Рет қаралды 218 М.
OAuth 2.0 and OpenID Connect (in plain English)
1:02:17
OktaDev
Рет қаралды 1,8 МЛН