Laravel Multi Authentication With Separate Role based Dashboards| Middleware.

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

КОМЕНТАРІ • 56

  • @dominicdeheuer937
    @dominicdeheuer937 Рік тому

    Many thanks. I look forward to having the continuation of this tutorial on the register account. Keep up the extraordinary work!

    • @laraphant
      @laraphant  Рік тому

      Thank you for the encouraging words. Will schedule something in the near future.

  • @asayentelbah
    @asayentelbah Рік тому +1

    Thank you Coder Base, I had serious challenge doing this, but your tutorial has just clarified a whole lot of things for me. Thank you once again.

  • @johnsteve1276
    @johnsteve1276 2 місяці тому

    Many thanks, man. It's really helpful.

  • @jehankandy2970
    @jehankandy2970 Рік тому +2

    Thank you sir it's really working 10000000000000000000000000000000% WORKING
    I also subscribe to your channel ...
    Love From Sri Lanka

  • @GiovanniOlonga
    @GiovanniOlonga Рік тому

    Wow Thanks Sir for detailed explanation on this, Myself and others Ave gained alot form this Tutorial. Thanks So much Bro

  • @j.m.5433
    @j.m.5433 7 місяців тому

    Thanks, thanks, thanks, my friend. You are amazing!

  • @MwendwaJohn-h3z
    @MwendwaJohn-h3z Рік тому

    Great tutorial. I loved how you explained every step and detail of it

  • @agneldominique352
    @agneldominique352 Рік тому

    A great tutorial... solved a lot of my doubts... now one more thing i would like to know without using different named routes(urls) as in the admin how can we implement different frontend dashboard based on hierarchy of client types..

    • @laraphant
      @laraphant  Рік тому

      In the case of using the same dashboard for different hierarchy of users you can show/hide some links, but also implement gates and policies

  • @andychigalu1133
    @andychigalu1133 Рік тому +3

    Good piece of tutorial bro..

  • @talk-IT360
    @talk-IT360 Рік тому +1

    It really worked! great work

    • @laraphant
      @laraphant  Рік тому +1

      Thanks! Glad you found the video useful

  • @Psychoart0
    @Psychoart0 Рік тому +1

    Its soo simple thanks and which version did you use laravel 9 or 8

    • @laraphant
      @laraphant  Рік тому

      Laravel 9, it works for laravel 10 too

  • @overholted
    @overholted 8 місяців тому

    Laravel/ui is considered a legacy app at this point. Would you do an updated video using Jetstream (or Breeze if you want, but I am using Jetstream).

    • @laraphant
      @laraphant  8 місяців тому

      I think its still maintained to date, thanks for suggestion, will try and come up with something

  • @darrenedwards7517
    @darrenedwards7517 Рік тому

    This was an amazing tutorial thank you so much sir

  • @takundavito3661
    @takundavito3661 Рік тому

    great video but
    your git repo is empty

  • @paulyech
    @paulyech Рік тому

    what if i wanted a user to state his role when registering ?how do i capture that role in the users table ?

    • @laraphant
      @laraphant  Рік тому +1

      For that you can have the roles shown in advance to the user in a dropdown in the login form. With this you can easily redirect to the intended dashboard

  • @yousufhasnain9976
    @yousufhasnain9976 Рік тому

    Undefined type 'Auth'.intelephense(1009)
    View Problem (Alt+F8)
    No quick fixes available
    how are you bro i am facing this problem can you help me

    • @laraphant
      @laraphant  Рік тому +1

      From which file is the error originating?

  • @ShehrozMughal-q2e
    @ShehrozMughal-q2e Рік тому

    i got the bad method call when i run command PHP artisan db:seed

    • @laraphant
      @laraphant  Рік тому

      Try and check the possible source of the error

  • @HamzaELQADIRI-j4g
    @HamzaELQADIRI-j4g 10 місяців тому

    whene i want to test whiche password i have to write ?

  • @delacruzerickson539
    @delacruzerickson539 Рік тому

    Great Tutorial bro! I've already subscribe to your channel. But can I ask what is the default password bro?

    • @laraphant
      @laraphant  Рік тому +1

      password

    • @delacruzerickson539
      @delacruzerickson539 Рік тому

      @@laraphant thanks bro, do you have repository link of this project bro? I'm having a hard time in login

    • @laraphant
      @laraphant  Рік тому

      I will update it sometimes today

    • @laraphant
      @laraphant  Рік тому

      @@delacruzerickson539 the github repo for this tutorial is updated, you can check it out. Hope it helps

  • @stephtech1021
    @stephtech1021 Рік тому

    how can i prevent admin from accessing the home route

    • @laraphant
      @laraphant  Рік тому

      Follow the same example that was used to protect the other routes. Create a middleware to do that.

    • @Maryam_mashkoora1
      @Maryam_mashkoora1 Рік тому

      ​@@laraphantI having the same problem according to this vedio admin can access the home route

    • @laraphant
      @laraphant  Рік тому

      @@Maryam_mashkoora1 Kindly compare your Login controller with the login controller in the GitHub repo.

    • @laraphant
      @laraphant  Рік тому

      Yet you can still create a middleware to protect the home route

  • @Psychoart0
    @Psychoart0 Рік тому

    Help me i can't logout it Won't log out

    • @laraphant
      @laraphant  Рік тому

      Can you compare your code with the tutorial code (check the GitHub repo link in the description). If you still have a challenge revert

    • @Psychoart0
      @Psychoart0 Рік тому

      @@laraphant im having problem with env.example file it wont work sir what should i do😢

    • @laraphant
      @laraphant  Рік тому

      @@Psychoart0 create .env file and paste everything from .env.example. Then run the command php artisan key:generate

    • @Psychoart0
      @Psychoart0 Рік тому

      @@laraphant no error fatal error

    • @Psychoart0
      @Psychoart0 Рік тому

      @@laraphant i have try composser update and key generate and i got different type of error

  • @R004032
    @R004032 11 місяців тому

    480p too low

    • @laraphant
      @laraphant  11 місяців тому

      Improving with every new video, thanks for feedback