Laravel 11 Multi Auth: Admin, Teacher, and User | Implement Multiple Authentication Guards

Sdílet
Vložit
  • čas přidán 17. 04. 2024
  • In this comprehensive tutorial, we'll guide you through setting up a multi-authentication system in Laravel 11. Learn how to implement custom admin and teacher guards, complete with separate login and register pages for each role. Discover how to create distinct dashboards for each user type, ensuring a smooth and secure user experience.
    We'll walk you through the entire process, from setting up the authentication guards to creating individualized routes and views for admins and teachers. By the end of this video, you'll have a strong understanding of how to effectively manage different user roles and permissions within your Laravel 11 application.
    Whether you're a beginner or an experienced developer, this tutorial offers valuable insights and practical tips for building a robust and scalable multi-auth system. Don't miss out on this essential guide to mastering Laravel 11's advanced authentication features!
    Laravel 11 Multi Auth: Admin, Teacher, and User | Implement Multiple Authentication Guards
    Our Playlists:
    OOP In PHP:
    • OOP - PHP
    Git Full Tutorial
    • GIT Tutorial
    Laravel 9:
    • Laravel 9
    Vue 3 Laravel 9 Tutorial:
    • Vue 3 Laravel 9
    Laravel Testing:
    • Laravel Testing
    Nuxt Js
    • NuxtJS
    Laravel And Vuejs
    • Laravel And Vuejs
    Laravel Notifications:
    • Laravel Notification
    Laravel And React Js
    • Laravel ReactJs
    Laravel Interview Questions And Answers:
    • Laravel Interview Ques...
    Laravel User Management System:
    • Laravel User Managemen...
    Laravel Multi Auth System
    • Laravel Multi Auth System
    Laravel Vue3 GraphQL
    • Laravel Vue 3 GraphQL
    Follow us:
    YoutTube: / ajayyadavexpo
    Instagram: / ajayyadavexpo
    Twitter : / ajayyadavexpo
    Linkedin: / ajayyadavexpo
    Github: github.com/ajayyadavexpo
    GitHub Project (Download)
    github.com/ajayyadavexpo/lara...
    Please subscribe to my channel and share the video with your friends.
    #laravel #laravel11 #laravel11multiauth #laravel11tutorial

Komentáře • 30

  • @RagibRohan-kq6bl
    @RagibRohan-kq6bl Před 3 měsíci

    Thank you

  • @AbuEsa
    @AbuEsa Před 3 měsíci

    Helpful Content...
    Thanks❤

  • @skgamer2.027
    @skgamer2.027 Před 3 měsíci

    thanks ❤

  • @user-wj1hn5ys5z
    @user-wj1hn5ys5z Před 3 měsíci

    which extensions do you use? please suggest.

  • @narend
    @narend Před 3 měsíci

    Thanks sir

  • @social_media1307
    @social_media1307 Před 3 měsíci

    Sir interview ke technical round me kya kya puchte he uska video banado na

  • @future_of_coding
    @future_of_coding Před 3 měsíci +1

    @ajay-yadav Hello Sir, Thanks for the new knowledge, I expecting that on jetstream and blade, here got some issue Logged in admin/dashboard When type the url admin/login redirect to /login,When user logged out admin also logged out.

    • @CodeWithMarcelo
      @CodeWithMarcelo Před 2 měsíci

      i am having the same issue, did you solved it?

  • @AbramKhan029
    @AbramKhan029 Před 3 měsíci

    sir, can you make content on API based multi auth ?

  • @satishksharma
    @satishksharma Před 3 měsíci

    Thank you bro for making video on my request. Can we make single login Page for all.
    You have experience of IT industry so I request you please make video on school management system. How does work on a such type real world Project.

    • @danish-rg4px
      @danish-rg4px Před 2 měsíci

      Yes if possible please make video on that

  • @sanjcoder4217
    @sanjcoder4217 Před 3 měsíci

    Hello sir. guard-based authentication and role-based which one is best to use?

  • @user-lg3jf4pl9s
    @user-lg3jf4pl9s Před měsícem

    mostly in youtube, multi user with role based auth using multi table.

  • @deepakshrestha2409
    @deepakshrestha2409 Před 3 měsíci

    Please do video about websocket in laravel ❤❤❤😊

  • @MDARH
    @MDARH Před 2 měsíci

    I followed your videos and get an error. If I login admin and user at once then try to logout from any of one, both user and admin are going logged out. How can I fix it please!

    • @ajay-yadav
      @ajay-yadav  Před 2 měsíci +1

      try this Auth::guard('admin')->logout();

    • @MDARH
      @MDARH Před 2 měsíci

      I tried this, but the problem was session storing. So I store with different name for both user and admin and when logged out forget only one session, not all. Thanks again.

  • @Robennhood
    @Robennhood Před 3 měsíci

    Sir ek api base project bnao sir larawel me

  • @narend
    @narend Před 3 měsíci

    Sir redirect sahi nahi kr raha please isme middleware bhi add Karo na

    • @ajay-yadav
      @ajay-yadav  Před 3 měsíci

      @narend Could you explain that in more detail?

    • @future_of_coding
      @future_of_coding Před 3 měsíci

      Logged in admin/dashboard When type the url admin/login redirect to /login,When user logged out admin also logged out.

    • @narend
      @narend Před 3 měsíci

      @@future_of_coding yes sir

    • @narend
      @narend Před 3 měsíci

      @@future_of_coding same problem

  • @fmt2586
    @fmt2586 Před měsícem

    you just said and did things, never explained why you did it, you copied and bunch of files and deleted a bunch but didn't even explain anything, no logic, i am not here to copy you know, just a criticism.

  • @pratimasingh549
    @pratimasingh549 Před 3 měsíci

    sir, ak table me role define karke bhi kar sakte hai.. uske upar ak video kar digiye..