Laravel 9 Multi Auth | Laravel 9 Breeze Multi Auth | Laravel Multi auth Guard | Ajay yadav | [HINDI]

  Рет қаралды 38,251

Ajay yadav

Ajay yadav

Күн бұрын

Пікірлер: 99
@future_of_coding
@future_of_coding Жыл бұрын
@Ajay Sir, Lajawab, Very Clear and Helpful Guide for beginners, Thanks a lot, please keep this spirit to taught us. We are very inspire by You. Learn lot of things from You.
@ajay-yadav
@ajay-yadav Жыл бұрын
I will try my best
@getupkid84
@getupkid84 Жыл бұрын
Have absolutely no idea what you're saying but I was able to follow along :) thanks for the tutorial!
@ajay-yadav
@ajay-yadav Жыл бұрын
Glad I could help!😂
@abbabarry7769
@abbabarry7769 2 жыл бұрын
this tutorial really helped me unlock part of my project. thank you really
@ajay-yadav
@ajay-yadav 2 жыл бұрын
Glad it helped!
@Eagel-m4l
@Eagel-m4l 2 жыл бұрын
hi sir please make video digging deeper topic ,1 Br,oadcasting,2.Notifications,3 Mail Artisan Console Broadcasting Cache Collections Compiling Assets Contracts Events File Storage Helpers HTTP Client Localization Mail Notifications Package Development Queues Rate Limiting Task Scheduling
@amethitech2023
@amethitech2023 2 жыл бұрын
yes sir
@ajay-yadav
@ajay-yadav 2 жыл бұрын
Hi, Ranjeet Thank you so much for these awesome topics. Mostly I've already covered .... rest noted down will cover soon.
@vivekverma7162
@vivekverma7162 2 жыл бұрын
Yes
@noonereally0007
@noonereally0007 Жыл бұрын
i do not speak emglish but im happy i found this video
@alirazatawary
@alirazatawary Жыл бұрын
wordpress phpbb and other many application main login sab ka ik hi hota wp-login but ap ney different login kun banye not a standard video ... please upload video with on one users table and login page authenticat different users type like admin seller user etc ... i am waiting for such kind of video in deatail thanks .
@anoopsaxena1760
@anoopsaxena1760 Жыл бұрын
Superb explanation👍👍 Thank you so much
@ajay-yadav
@ajay-yadav Жыл бұрын
Thanks for watching buddy
@RekhaSirsath-e1n
@RekhaSirsath-e1n Жыл бұрын
Thank you so much sir for this video
@Dragon-qh9sc
@Dragon-qh9sc 7 ай бұрын
sir we need to generate middleware for Admin also. if there is admin logout then they redirect to Admin login page not for the user login page
@umarsultan-ub5ph
@umarsultan-ub5ph Жыл бұрын
great tutorial. you are great. keep it up
@pacetech786
@pacetech786 9 ай бұрын
i havedouble checked. when i log in with user credential i redirct myself to user dashboard. that's fine. similarly when i login with admin credential even register @ admin/register after succesful register i redirect to localhost/login. when i go to '/' route i see text admin dashaboard it means i am logged in. i couldn't find where i am lacking
@djenko8381
@djenko8381 2 жыл бұрын
THanks for the tuto Sir it is very helpful
@ajay-yadav
@ajay-yadav 2 жыл бұрын
Glad it helped
@AjaySingh-ms2qs
@AjaySingh-ms2qs 2 жыл бұрын
thanks sir successfully created plz make videos on api in laravel
@ajay-yadav
@ajay-yadav 2 жыл бұрын
I will try my best
@factopedia-facts
@factopedia-facts 2 жыл бұрын
Do you provide live online classes?
@Divyajain-le2ic
@Divyajain-le2ic 11 ай бұрын
Table and model not found bta rha he pura sahi se likha register usercontroller me phir bhi
@arvindparkash5096
@arvindparkash5096 Жыл бұрын
Sir, node_module ko install krne se project ka size kafi bda ho jata he and sayad peromance decrese ho jati he, to bina node_moduel ko use kre hm breeze ko use kr kste he? kiya node_module bde laravel project me use hota he
@yourakil
@yourakil Жыл бұрын
Thank you brother, I have successfully created multi auth with breeze but I can't do it with bootstrap in laravel 9. because when I create bootstrap auth then I don't find som function like loginrequest and authenticatedsessioncontroller. If you make a video with bootstrap then it will help for me.
@ajay-yadav
@ajay-yadav Жыл бұрын
ok sure I'll try
@mdsafikulislam7430
@mdsafikulislam7430 Жыл бұрын
How to implement this project into Bootstrap5 & ReactJS ?
@souviknag
@souviknag Жыл бұрын
Thank you for the tutorial :) Will this work with fortify? (with jetstream-livewire installed)
@danialshareef538
@danialshareef538 Жыл бұрын
Professional projects me ye method use karsakte kya ?
@alphadevelopers.
@alphadevelopers. 8 күн бұрын
Target class [teacher] does not exist. bro mene admin ki jaga teacher ke liye btanaya tha middlewares and models wagra sub teaches ke hisab se ki hai but main koi abhi route open kar raha ho toh ye aa raha hai mujhe ye class samj nahi aa rahi hai ke ye class kaha per exist nahi karti ? mene sub jaga dekha hai apki video ko bar bar play karke check kiya same to same work hai agr apke pas bhi aysa kuch aya tha toh guide kardi jiye kaha per mistake ho skhti hai ?
@MohdImran-fe9wp
@MohdImran-fe9wp Жыл бұрын
nice tutorial 👍👍👍
@Dreams_On_the_way
@Dreams_On_the_way Жыл бұрын
working, thankx sir
@idwaldias4189
@idwaldias4189 Жыл бұрын
How to integrate a admin pannel after creating the muti user login .. please help
@Dharmendrakewat123
@Dharmendrakewat123 Жыл бұрын
amazing video brother
@chzohaibofficial
@chzohaibofficial Жыл бұрын
Sir 1 video in Laravel vue js Multi Auth plz
@keyurvala2489
@keyurvala2489 2 жыл бұрын
Thanks for the tutorials. But it is very complex :(
@ajay-yadav
@ajay-yadav 2 жыл бұрын
Which part?
@ramshadrahman9202
@ramshadrahman9202 Жыл бұрын
How to add different roles to the admin We created and redirect to another page with roles?
@aadrshsharma3636
@aadrshsharma3636 2 жыл бұрын
Chamatkari bhaiya vinamr nivedan hai ki laravel jetstream Vue ke sath btao plz
@ajay-yadav
@ajay-yadav 2 жыл бұрын
"Chamatkari bhaiya" 😝 ... aap ki nivedan swikar ki jati h
@rohitgour2896
@rohitgour2896 Жыл бұрын
Hi, suppose I don't want to use the auth guard, so can i use custom logic to manage all users based on different role ids in the user table and through middleware i can manage all the redirections and of course we will use the auth attempt for login.
@ajay-yadav
@ajay-yadav Жыл бұрын
Yes ofcourse
@kishankakadiya40
@kishankakadiya40 2 жыл бұрын
Hello sir, I will create complete ecommerce website in laravel 9, but i have asked one question: laravel 9 authentication which one use? Please tell me
@ajay-yadav
@ajay-yadav 2 жыл бұрын
if you want tailwind and laravel auth go with : laravel/breeze package bootstrap + auth = laravel/ui
@001_icaasana8
@001_icaasana8 Жыл бұрын
Unable to locate a class or view for component [admin-guest-layout]
@murtazanoori6414
@murtazanoori6414 Жыл бұрын
Not Working im getting Illuminate\Auth\SessionGuard::__construct(): Argument #2 ($provider) must be of type Illuminate\Contracts\Auth\UserProvider, null given, called in /Users/murtazanoori/Overload/vendor/laravel/framework/src/Illuminate/Auth/AuthManager.php on line 130 Error , Do you know how to fix this ?
@mahbuburriad1577
@mahbuburriad1577 Жыл бұрын
brother, how to add email verification for admin as Mustverifyemail system or is there any other way?
@abubakkarsiddique7870
@abubakkarsiddique7870 Жыл бұрын
Hello brother, thank you for the tutorial. Brother I am facing a problem. When I logout from user or admin it automatically logout from both user. Can you please give me a solution.
@ajay-yadav
@ajay-yadav Жыл бұрын
Abubakkar ye error nhi h tension na lo ... aisa hona bhi chahey ... koi same laptop se 2 account se login kyon krega ... practically socho ... agr fir bhi aap ko es chich ko solve krna h to logout function ko modify kr skte ho
@kapilvermasgnr
@kapilvermasgnr 2 жыл бұрын
Duplicate code we should avoid.
@shamsherm2605
@shamsherm2605 Жыл бұрын
brother my user login is also going or admin login , why ? its not taking its own route.
@userhexcent3436
@userhexcent3436 2 жыл бұрын
Illuminate\Auth\SessionGuard::__construct(): Argument #2 ($provider) must be of type Illuminate\Contracts\Auth\UserProvider, null given, called in C:\xampp\htdocs\example-app\vendor\laravel\framework\src\Illuminate\Auth\AuthManager.php on line 123 this is what i getting???
@Dragon-cn3ty
@Dragon-cn3ty Жыл бұрын
bilkul same problem hai meri bhi agar solution mile to please batana
@murtazanoori6414
@murtazanoori6414 Жыл бұрын
dude did you find any sloution ? im getting the same error
@chalitajodrum328
@chalitajodrum328 Жыл бұрын
thank you🤩
@ajay-yadav
@ajay-yadav Жыл бұрын
You’re welcome 😊
@pankajsharma170
@pankajsharma170 8 ай бұрын
Sir forgot password is tittle complex. To use custom table like publishers, we need to add Password::broke('publishers') in all forgot realted controllers. can you please create this video.
@mr_agnihotri
@mr_agnihotri 2 жыл бұрын
I am facing an issue how to use multiple auth on same route please help out. 🙏
@ajay-yadav
@ajay-yadav 2 жыл бұрын
use middleware
@ajeetverma3936
@ajeetverma3936 Жыл бұрын
Unable to locate a class or view for component[admin- guest- layout] error aa rhaa hai to kaise solve kar sakte hai sir
@ajay-yadav
@ajay-yadav Жыл бұрын
Ajeet app/views folder ke ander check kro file exists krti h ya nhi, sayd o file create n ho
@ajeetverma3936
@ajeetverma3936 Жыл бұрын
@@ajay-yadav aap jaise banaye the waise hi mai bhi banaya hu bas mai new project crete nhi kiya tha qki pahle se project bana tha mere pass only breeze install kiya hu user wala chal raha hai lekin admin wale me problem aa raha hai
@kailashkumawat3801
@kailashkumawat3801 2 жыл бұрын
hello sir aap ne duplicate folder kese bnaya btao
@fahadullah4248
@fahadullah4248 Жыл бұрын
@fitNdedicated
@fitNdedicated Жыл бұрын
sir jab hum admin/login url dalte h then yeh hume user login page pe redirect krr rha hai kal thik chal rha tha plss give me answer
@ajay-yadav
@ajay-yadav Жыл бұрын
Bhai aap Middleware check kro whi problem h
@taghreedomer6208
@taghreedomer6208 Жыл бұрын
Hi, thank you for the tutorial, i have a question , when i type in the browser admin/ it return me to the login of the user, how i can make it return to the admin/login ? i changed the route get admin/dashboard to be admin and return the view admin/dashboard. can you help me solve this?
@ajay-yadav
@ajay-yadav Жыл бұрын
check middleware
@mddider9174
@mddider9174 2 жыл бұрын
good. but is it good practice?
@ajay-yadav
@ajay-yadav 2 жыл бұрын
it depends on the requirement ... but I don't think it's good practice
@mddider9174
@mddider9174 2 жыл бұрын
@@ajay-yadav ❤
@sujatasharma9002
@sujatasharma9002 2 жыл бұрын
@@ajay-yadav then what is the best approach for multi auth in laravel+react
@amethitech2023
@amethitech2023 2 жыл бұрын
please sir make video laravel brodcasting,mail ,laravel real time chat
@ajay-yadav
@ajay-yadav 2 жыл бұрын
already uploaded plz check
@Divyajain-le2ic
@Divyajain-le2ic 11 ай бұрын
Please solve my error
@fitNdedicated
@fitNdedicated Жыл бұрын
yeh kal thik chl rha tha but aaj nhi hra
@somethingmysterious58
@somethingmysterious58 2 жыл бұрын
sir main laravel 9 k andr npm run dev krta hu to URL k oopr cmd atak jati hai, apki kyun ni rukti??
@ajay-yadav
@ajay-yadav 2 жыл бұрын
junaid ... laravel 9 ke latest version me vite ko introduced kiya gya h ... jiski wjh se ho rha h ... to aap .env file me url change kro
@somethingmysterious58
@somethingmysterious58 2 жыл бұрын
@@ajay-yadav sir aap b to laravel 9 hi use kr rhy hain na.. .env mein file url ko change kr k kya rakhu
@ihwannh8628
@ihwannh8628 Жыл бұрын
I found a problem when creating an access token, please help me teacher 😔 how to generate a token 😭
@ajay-yadav
@ajay-yadav Жыл бұрын
to generate tokens you can use sanctum, $user->createToken('authToken')->plainTextToken;
@ihwannh8628
@ihwannh8628 Жыл бұрын
@@ajay-yadav I managed to create a token for the user, but it didn't work for the admin. Maybe the teacher can make a tutorial for it heuheu..
@ajay-yadav
@ajay-yadav Жыл бұрын
may be because of different guard
@ihwannh8628
@ihwannh8628 Жыл бұрын
@@ajay-yadav So does the teacher have a solution to my problem? 🙏🙏🙏
@tonivazquezfreijomil7734
@tonivazquezfreijomil7734 2 жыл бұрын
What if admin is not identified and goes for a route /admin/dashboard? It's redirected to user login, not to admin login... How would you change the Authenticate.php file?
@ajay-yadav
@ajay-yadav 2 жыл бұрын
use RedirectIfAuthenticated.php middleware and redirect to the admin/login page from here
@LETHLGAMING
@LETHLGAMING 2 жыл бұрын
wo krke bhi nhi ho raha hai kya krna padega aba main bichme adk gaya hoo. plz fast reply me.
@ajay-yadav
@ajay-yadav 2 жыл бұрын
ok ... Please check the description and download the project from GitHub, I've updated the code.
@AtanuMarick
@AtanuMarick 9 ай бұрын
@@ajay-yadav please clarify in which file shud we change and what extra things we have to add ? i was trying from starting of the video it will be very good if you clarify in which file we shud change the code cause i had changed codes of RedirectIfAuthenticated from your github repo still it is redirecting into login when sign up and when trying to login it is not going to admin dashboard too
@pashabhai-mg9xi
@pashabhai-mg9xi 3 ай бұрын
Show this error ----- Target class [guest.admin] does not exist.
@pashabhai-mg9xi
@pashabhai-mg9xi 3 ай бұрын
App Routing Controller App\Http\Controllers\Adminauth\AuthenticatedSessionController@create Route name admin.login Middleware web guest.admin
@ajay-yadav
@ajay-yadav 3 ай бұрын
Are you using Laravel 9 or Laravel 11?
@pashabhai-mg9xi
@pashabhai-mg9xi 2 ай бұрын
@@ajay-yadav Laravel Framework 9.52.16
@tusharbabhulkar2463
@tusharbabhulkar2463 Жыл бұрын
hello...
@techvideos7268
@techvideos7268 2 жыл бұрын
Are bhai single user table se bhi hojayega ye kaam kyu itni alag table aur model bnana 😂
@ajay-yadav
@ajay-yadav 2 жыл бұрын
yes possible but kuch logo ko alg alg table rkhna acha lgta h
@techvideos7268
@techvideos7268 2 жыл бұрын
@@ajay-yadav agree but is se code ki complexity increase hojayegi.
@ajay-yadav
@ajay-yadav 2 жыл бұрын
agree
Auth Multi Roles Login with Custom Middleware in Laravel 9
16:50
Cambo Tutorial
Рет қаралды 52 М.
小天使和小丑太会演了!#小丑#天使#家庭#搞笑
00:25
家庭搞笑日记
Рет қаралды 45 МЛН
小路飞嫁祸姐姐搞破坏 #路飞#海贼王
00:45
路飞与唐舞桐
Рет қаралды 26 МЛН
Jetstream/Fortify Multi-Auth: Roles, Permissions and Guards
19:00
Laravel Daily
Рет қаралды 100 М.
The KEY To Thinking Like a Programmer (Fix This Or Keep Struggling)
10:39
Laravel Eloquent: Deeper Relationships with One Query
10:37
Laravel Daily
Рет қаралды 141 М.
Laravel Roles and Permissions Without any  package in HINDI
42:53
小天使和小丑太会演了!#小丑#天使#家庭#搞笑
00:25
家庭搞笑日记
Рет қаралды 45 МЛН