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

Поделиться
HTML-код
  • Опубликовано: 4 ноя 2024

Комментарии • 99

  • @getupkid84
    @getupkid84 Год назад

    Have absolutely no idea what you're saying but I was able to follow along :) thanks for the tutorial!

  • @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.

  • @danialshareef538
    @danialshareef538 Год назад

    Professional projects me ye method use karsakte kya ?

  • @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

  • @noonereally0007
    @noonereally0007 Год назад

    i do not speak emglish but im happy i found this video

  • @anoopsaxena1760
    @anoopsaxena1760 Год назад

    Superb explanation👍👍 Thank you so much

  • @abbabarry7769
    @abbabarry7769 2 года назад

    this tutorial really helped me unlock part of my project. thank you really

  • @AjaySingh-ms2qs
    @AjaySingh-ms2qs 2 года назад

    thanks sir successfully created
    plz make videos on api in laravel

  • @RekhaSirsath-e1n
    @RekhaSirsath-e1n Год назад

    Thank you so much sir for this video

  • @Eagel-m4l
    @Eagel-m4l 2 года назад +3

    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 года назад +1

      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

  • @Dragon-qh9sc
    @Dragon-qh9sc 8 месяцев назад

    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

  • @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 .

  • @MohdImran-fe9wp
    @MohdImran-fe9wp Год назад

    nice tutorial 👍👍👍

  • @Divyajain-le2ic
    @Divyajain-le2ic Год назад +1

    Table and model not found bta rha he pura sahi se likha register usercontroller me phir bhi

  • @umarsultan-ub5ph
    @umarsultan-ub5ph Год назад +1

    great tutorial. you are great. keep it up

  • @Dharmendrakewat123
    @Dharmendrakewat123 Год назад

    amazing video brother

  • @djenko8381
    @djenko8381 2 года назад

    THanks for the tuto Sir it is very helpful

  • @pacetech786
    @pacetech786 10 месяцев назад

    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

  • @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

  • @factopedia-facts
    @factopedia-facts 2 года назад +1

    Do you provide live online classes?

  • @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.

  • @souviknag
    @souviknag Год назад

    Thank you for the tutorial :) Will this work with fortify? (with jetstream-livewire installed)

  • @Dreams_On_the_way
    @Dreams_On_the_way Год назад

    working, thankx sir

  • @alphadevelopers.
    @alphadevelopers. Месяц назад

    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 ?

  • @keyurvala2489
    @keyurvala2489 2 года назад

    Thanks for the tutorials. But it is very complex :(

  • @idwaldias4189
    @idwaldias4189 Год назад

    How to integrate a admin pannel after creating the muti user login .. please help

  • @yourakil
    @yourakil 2 года назад +1

    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.

  • @mahbuburriad1577
    @mahbuburriad1577 Год назад

    brother, how to add email verification for admin as Mustverifyemail system or is there any other way?

  • @chzohaibofficial
    @chzohaibofficial Год назад

    Sir 1 video in Laravel vue js Multi Auth plz

  • @chalitajodrum328
    @chalitajodrum328 Год назад

    thank you🤩

  • @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

  • @ramshadrahman9202
    @ramshadrahman9202 Год назад

    How to add different roles to the admin We created and redirect to another page with roles?

  • @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

  • @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 ?

  • @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  Год назад +1

      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

  • @kailashkumawat3801
    @kailashkumawat3801 2 года назад

    hello sir aap ne duplicate folder kese bnaya btao

  • @001_icaasana8
    @001_icaasana8 Год назад

    Unable to locate a class or view for component [admin-guest-layout]

  • @pankajsharma170
    @pankajsharma170 9 месяцев назад

    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.

  • @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

  • @mr_agnihotri
    @mr_agnihotri 2 года назад

    I am facing an issue how to use multiple auth on same route please help out. 🙏

  • @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?

  • @shamsherm2605
    @shamsherm2605 2 года назад

    brother my user login is also going or admin login , why ? its not taking its own route.

  • @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

  • @userhexcent3436
    @userhexcent3436 2 года назад +1

    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

  • @Divyajain-le2ic
    @Divyajain-le2ic Год назад +1

    Please solve my error

  • @amethitech2023
    @amethitech2023 2 года назад

    please sir make video laravel brodcasting,mail ,laravel real time chat

    • @ajay-yadav
      @ajay-yadav  2 года назад

      already uploaded plz check

  • @ihwannh8628
    @ihwannh8628 Год назад

    I found a problem when creating an access token, please help me teacher 😔 how to generate a token 😭

    • @ajay-yadav
      @ajay-yadav  Год назад +1

      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? 🙏🙏🙏

  • @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

  • @fahadullah4248
    @fahadullah4248 Год назад

  • @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 10 месяцев назад

      @@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

  • @fitNdedicated
    @fitNdedicated Год назад

    yeh kal thik chl rha tha but aaj nhi hra

  • @pashabhai-mg9xi
    @pashabhai-mg9xi 4 месяца назад

    Show this error ----- Target class [guest.admin] does not exist.

    • @pashabhai-mg9xi
      @pashabhai-mg9xi 4 месяца назад

      App
      Routing Controller
      App\Http\Controllers\Adminauth\AuthenticatedSessionController@create
      Route name
      admin.login
      Middleware
      web guest.admin

    • @ajay-yadav
      @ajay-yadav  4 месяца назад

      Are you using Laravel 9 or Laravel 11?

    • @pashabhai-mg9xi
      @pashabhai-mg9xi 3 месяца назад

      @@ajay-yadav Laravel Framework 9.52.16

  • @kapilvermasgnr
    @kapilvermasgnr 2 года назад +3

    Duplicate code we should avoid.

  • @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