Building Secure Multi-Auth Systems in Laravel 11 with Laravel Breeze

Поділитися
Вставка
  • Опубліковано 9 лис 2024

КОМЕНТАРІ • 36

  • @SuyalAmit
    @SuyalAmit 6 місяців тому +3

    I was having trouble in implementing this feature, then I found your video and you know what it worked like a charm.
    Thanks for sharing Sir 🙏

    • @programmingfields
      @programmingfields  6 місяців тому +1

      Thank you very much for your valuable feedback. Glad it helped you. 🙏🙏

  • @vinnnduri7509
    @vinnnduri7509 Місяць тому +2

    For ease of importing classes, install the Namespace Resolver extension

  • @mdrazuhossainraj7674
    @mdrazuhossainraj7674 Місяць тому +1

    Very Nice , Informative and Easy to understand . thank you so much

  • @abrahamkamau2282
    @abrahamkamau2282 3 місяці тому +1

    Wow , A very good detailed and concise explanation . This is the best multi-auth laravel 11 breeze tutorial😊.Thankyou so much!! Please make on roles and permissions using laravel 11. A new subscriber 😊😊❤

    • @programmingfields
      @programmingfields  3 місяці тому

      @@abrahamkamau2282 Thank you so much for your valuable feedback

  • @asyrafilhuda4223
    @asyrafilhuda4223 4 місяці тому +1

    Thank you for your knowledge bro, it really helped me.
    greetings from Indonesia🙏

  • @GianGamingMLBB
    @GianGamingMLBB 6 місяців тому +1

    Could you create a tutorial on how to create roles and permissions that are saved in a database? You can add permissions to a table, and those are the only ones you'll see in the UI. It's like each user role's access is driven by the database.

    • @programmingfields
      @programmingfields  6 місяців тому +1

      Thank you very much for your valuable feedback and suggestions for the video. Definitely will make a separate video on it. ☺️

  • @codingwithjoe
    @codingwithjoe 2 місяці тому +1

    very straight forward and well explained, i love it

  • @nasko235679
    @nasko235679 4 місяці тому +1

    Aren't gates/policies the preferred way to go when creating authorization in laravel? The middleware way you did it obviously work as well but I think their docs pretty much recommend policies for any medium/large sized projects.

    • @programmingfields
      @programmingfields  4 місяці тому +1

      @@nasko235679 Yes, that is also recommended. The choice is yours, either use middlewares or gate/policies

  • @kevinmahendra3691
    @kevinmahendra3691 4 місяці тому +3

    Good Explanation 👍

  • @kbdschool
    @kbdschool 20 днів тому +1

    Thank You Man!

  • @Gift-op6mq
    @Gift-op6mq 5 місяців тому +1

    What about using the same admin section for the admin and super admin. But set role and permissions to what they can access and perform. Like the super admin can create new admin account from the admin section. But the normal admin account can not see the view and not be able to perform same action

    • @programmingfields
      @programmingfields  5 місяців тому +2

      Yes we can achieve this by defining permissions for every role. Then based on the role and permission you can perform the required operations. Very soon I will make a separate video on Roles and Permissions.

    • @Gift-op6mq
      @Gift-op6mq 5 місяців тому +1

      @@programmingfields thanks so much. I will be grateful if you do so. Hopefully soonest

    • @programmingfields
      @programmingfields  5 місяців тому

      @@Gift-op6mq you're welcome

  • @rama_lefthanded
    @rama_lefthanded 4 місяці тому +1

    make a videos for multi-auth using spatie role and permissions using CRUD ? can add permissions using crud, please

    • @programmingfields
      @programmingfields  4 місяці тому

      Thank you for your suggestion. Yes, very soon I will make a series on these all functionalities.

  • @Mahisir2001
    @Mahisir2001 6 місяців тому +3

    This video help me lots

  • @jorensumagang3533
    @jorensumagang3533 6 місяців тому +2

    is this the best practice sir?

    • @programmingfields
      @programmingfields  6 місяців тому +2

      This is one of the way to manage multiple authentication using a single users table. However there is one more way by creating multiple tables just like users, admins, and other user roles. Thereafter you will have to update the auth guards respectively. Very soon I will upload that video as well.

  • @mohammadardhisaalrasyid_mi6512
    @mohammadardhisaalrasyid_mi6512 5 місяців тому +1

    thanks sir u solve my problem

  • @freeEgyptian
    @freeEgyptian 5 місяців тому +1

    thanks bro

  • @BOUTELISMOUSSAAB
    @BOUTELISMOUSSAAB 6 місяців тому +1

    Thank u

  • @abdkabirneami7914
    @abdkabirneami7914 6 місяців тому +2

    Up