Laravel 9 and Vue JS 3 - SPA Roles & Permissions - SPA Multi Auth - Ubuntu 22.04 LTS

แชร์
ฝัง
  • เผยแพร่เมื่อ 13 ธ.ค. 2024

ความคิดเห็น • 20

  • @timminjapan3113
    @timminjapan3113 2 ปีที่แล้ว +1

    Hey, nice video, but I get always a 403 Forbidden Error (on getTasks()), doesnt matter which permission I call. Need some help!

    • @codewithhafiz
      @codewithhafiz  2 ปีที่แล้ว

      Thank you I am glad you like the video, and regarding the error you get is because the authenticated user does not have that permission so its returning that 403 error if you remove the permission completely from the getTasks() it will probably work then.
      I hope this solves the problem you are facing if not, please feel free to comment I will get back to you as soon as possible.

    • @timminjapan3113
      @timminjapan3113 2 ปีที่แล้ว

      @@codewithhafiz Thanks, for your answer!! Your Videos are just great!! In the Blade View everything works fine. But if I call on the Controller $this->authorize('tasks-read') it says always 403 Forbidden. But the Admin-, Manager- and Employe-User have all the Permission tasks-read in the permission_user Table. I dont get the problem

    • @timminjapan3113
      @timminjapan3113 ปีที่แล้ว

      Fixed it. The Problem was, that I skipped your previous Video

  • @rashed50702
    @rashed50702 2 ปีที่แล้ว +1

    Thanks for your tutorial. Would you please make a tutorial about roles and permissions when laravel and vuejs(VueCLI) are separates applications.

    • @codewithhafiz
      @codewithhafiz  2 ปีที่แล้ว +1

      Your welcome, and yeah why not it would be a great idea :)

    • @rashed50702
      @rashed50702 2 ปีที่แล้ว

      @@codewithhafiz Alhamdulillah... I am eagerly waiting for this tutorial.

    • @adrianvasilescu9281
      @adrianvasilescu9281 11 หลายเดือนก่อน

      This video exist now ?

    • @rashed50702
      @rashed50702 11 หลายเดือนก่อน

      No
      @@adrianvasilescu9281

  • @ahmedaliklay1233
    @ahmedaliklay1233 2 ปีที่แล้ว +1

    بارك الله فيك

  • @aungkyawmyint4548
    @aungkyawmyint4548 2 ปีที่แล้ว +1

    I got a error message "Unable to read key from file file:///var/www/html/todo_app/storage/oauth-public.key"

    • @codewithhafiz
      @codewithhafiz  2 ปีที่แล้ว

      Yeah please create your api passport keys using the php artisan passport:install command and then confirm if the keys are generated using the php artisan passport:keys command I hope this helps please feel free to leave another comment and I will respond as soon as possible.

  • @najmulhasan7258
    @najmulhasan7258 2 ปีที่แล้ว +1

    Tutorial is very fine and Nice Explanation. But Voice Sound Quality is very low.

  • @JJ-ot3ps
    @JJ-ot3ps 2 ปีที่แล้ว +1

    hey there, nice video!! I am learning laravel and vue now, just wondering is this based on jetsteam or breeze? I have never heard laraveltrust before. Also, does jetstream comes with vue3 and tialwind? thanks !!!!!!

    • @codewithhafiz
      @codewithhafiz  2 ปีที่แล้ว +1

      Thanks, well this is not about jetstream or breeze because those are some other topics regarding authentication in Laravel and they have different approach of implementing auth in your application so if you wanna use jetstream it has two options one for laravel app only other for spa laravel with vue app and laravel breeze is another lightweight auth implementation which comes with predesigned interface using tailwaind css and on the other hand Fortify is complete backend implementation of auth but you must take care of the front end on your own so if you wanna know more you can check out my video on authentication in laravel th-cam.com/video/Ct2In3rl6_k/w-d-xo.html

  • @ZakariyaFirachine
    @ZakariyaFirachine 2 ปีที่แล้ว +1

    Thank you Bro .keep up

  • @PradeepKumar-sx6ms
    @PradeepKumar-sx6ms 2 ปีที่แล้ว

    What if we use spring boot

    • @codewithhafiz
      @codewithhafiz  2 ปีที่แล้ว

      I haven't used it in anyway but I guess its a great technology.

    • @PradeepKumar-sx6ms
      @PradeepKumar-sx6ms 2 ปีที่แล้ว

      @@codewithhafiz we are trying to do that do you like to help us if yes share your email id