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

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

Ajay yadav

Ajay yadav

Күн бұрын

Пікірлер: 99
@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!😂
@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
@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
@danialshareef538
@danialshareef538 Жыл бұрын
Professional projects me ye method use karsakte kya ?
@MohdImran-fe9wp
@MohdImran-fe9wp Жыл бұрын
nice tutorial 👍👍👍
@anoopsaxena1760
@anoopsaxena1760 Жыл бұрын
Superb explanation👍👍 Thank you so much
@ajay-yadav
@ajay-yadav Жыл бұрын
Thanks for watching buddy
@umarsultan-ub5ph
@umarsultan-ub5ph Жыл бұрын
great tutorial. you are great. keep it up
@Divyajain-le2ic
@Divyajain-le2ic Жыл бұрын
Table and model not found bta rha he pura sahi se likha register usercontroller me phir bhi
@RekhaSirsath-e1n
@RekhaSirsath-e1n Жыл бұрын
Thank you so much sir for this video
@Dragon-qh9sc
@Dragon-qh9sc 11 ай бұрын
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
@Dharmendrakewat123
@Dharmendrakewat123 Жыл бұрын
amazing video brother
@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
@abbabarry7769
@abbabarry7769 2 жыл бұрын
this tutorial really helped me unlock part of my project. thank you really
@ajay-yadav
@ajay-yadav 2 жыл бұрын
Glad it helped!
@idwaldias4189
@idwaldias4189 Жыл бұрын
How to integrate a admin pannel after creating the muti user login .. please help
@noonereally0007
@noonereally0007 2 жыл бұрын
i do not speak emglish but im happy i found this video
@mahbuburriad1577
@mahbuburriad1577 Жыл бұрын
brother, how to add email verification for admin as Mustverifyemail system or is there any other way?
@Dreams_On_the_way
@Dreams_On_the_way Жыл бұрын
working, thankx sir
@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
@alphadevelopers.
@alphadevelopers. 4 ай бұрын
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 ?
@onlinesoftwarecave
@onlinesoftwarecave 2 жыл бұрын
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 .
@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
@factopedia-facts
@factopedia-facts 2 жыл бұрын
Do you provide live online classes?
@djenko8381
@djenko8381 2 жыл бұрын
THanks for the tuto Sir it is very helpful
@ajay-yadav
@ajay-yadav 2 жыл бұрын
Glad it helped
@souviknag
@souviknag 2 жыл бұрын
Thank you for the tutorial :) Will this work with fortify? (with jetstream-livewire installed)
@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 ?
@kailashkumawat3801
@kailashkumawat3801 2 жыл бұрын
hello sir aap ne duplicate folder kese bnaya btao
@pacetech786
@pacetech786 Жыл бұрын
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
@ramshadrahman9202
@ramshadrahman9202 2 жыл бұрын
How to add different roles to the admin We created and redirect to another page with roles?
@chalitajodrum328
@chalitajodrum328 2 жыл бұрын
thank you🤩
@ajay-yadav
@ajay-yadav 2 жыл бұрын
You’re welcome 😊
@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
@mukhiya247
@mukhiya247 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
@shamsherm2605
@shamsherm2605 2 жыл бұрын
brother my user login is also going or admin login , why ? its not taking its own route.
@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
@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
@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
@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
@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
@yourakil
@yourakil 2 жыл бұрын
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 2 жыл бұрын
ok sure I'll try
@mdsafikulislam7430
@mdsafikulislam7430 2 жыл бұрын
How to implement this project into Bootstrap5 & ReactJS ?
@taghreedomer6208
@taghreedomer6208 2 жыл бұрын
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 2 жыл бұрын
check middleware
@abubakkarsiddique7870
@abubakkarsiddique7870 2 жыл бұрын
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 2 жыл бұрын
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
@ihwannh8628
@ihwannh8628 2 жыл бұрын
I found a problem when creating an access token, please help me teacher 😔 how to generate a token 😭
@ajay-yadav
@ajay-yadav 2 жыл бұрын
to generate tokens you can use sanctum, $user->createToken('authToken')->plainTextToken;
@ihwannh8628
@ihwannh8628 2 жыл бұрын
@@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 2 жыл бұрын
may be because of different guard
@ihwannh8628
@ihwannh8628 2 жыл бұрын
@@ajay-yadav So does the teacher have a solution to my problem? 🙏🙏🙏
@keyurvala2489
@keyurvala2489 2 жыл бұрын
Thanks for the tutorials. But it is very complex :(
@ajay-yadav
@ajay-yadav 2 жыл бұрын
Which part?
@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 2 жыл бұрын
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
@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 Жыл бұрын
@@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
@chzohaibofficial
@chzohaibofficial 2 жыл бұрын
Sir 1 video in Laravel vue js Multi Auth plz
@fahadullah4248
@fahadullah4248 Жыл бұрын
@Divyajain-le2ic
@Divyajain-le2ic Жыл бұрын
Please solve my error
@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
@001_icaasana8
@001_icaasana8 Жыл бұрын
Unable to locate a class or view for component [admin-guest-layout]
@pankajsharma170
@pankajsharma170 11 ай бұрын
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.
@pashabhai-mg9xi
@pashabhai-mg9xi 7 ай бұрын
Show this error ----- Target class [guest.admin] does not exist.
@pashabhai-mg9xi
@pashabhai-mg9xi 7 ай бұрын
App Routing Controller App\Http\Controllers\Adminauth\AuthenticatedSessionController@create Route name admin.login Middleware web guest.admin
@ajay-yadav
@ajay-yadav 6 ай бұрын
Are you using Laravel 9 or Laravel 11?
@pashabhai-mg9xi
@pashabhai-mg9xi 6 ай бұрын
@@ajay-yadav Laravel Framework 9.52.16
@mukhiya247
@mukhiya247 2 жыл бұрын
please sir make video laravel brodcasting,mail ,laravel real time chat
@ajay-yadav
@ajay-yadav 2 жыл бұрын
already uploaded plz check
@fitNdedicated
@fitNdedicated Жыл бұрын
yeh kal thik chl rha tha but aaj nhi hra
@kapilvermasgnr
@kapilvermasgnr 2 жыл бұрын
Duplicate code we should avoid.
@tusharbabhulkar2463
@tusharbabhulkar2463 2 жыл бұрын
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
Рет қаралды 53 М.
Une nouvelle voiture pour Noël 🥹
00:28
Nicocapone
Рет қаралды 9 МЛН
Гениальное изобретение из обычного стаканчика!
00:31
Лютая физика | Олимпиадная физика
Рет қаралды 4,8 МЛН
Сестра обхитрила!
00:17
Victoria Portfolio
Рет қаралды 958 М.
Jetstream/Fortify Multi-Auth: Roles, Permissions and Guards
19:00
Laravel Daily
Рет қаралды 101 М.
11 Laravel Tips in 8 Minutes: December 2024
8:01
Laravel Daily
Рет қаралды 4,2 М.
AI Is Making You An Illiterate Programmer
27:22
ThePrimeTime
Рет қаралды 93 М.
Why aren't you using Fastify? Or Koa? Or NestJS?
9:58
Maximilian Schwarzmüller
Рет қаралды 75 М.
Une nouvelle voiture pour Noël 🥹
00:28
Nicocapone
Рет қаралды 9 МЛН