Whats new in Laravel 7 - Sanctum (former Airlock) Authentication in Vuejs SPA

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

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

  • @winter-survivor
    @winter-survivor 4 года назад +1

    Thanks BitVuemes!

    • @Bitfumes
      @Bitfumes  4 года назад

      Thanks for your love and support, keep learning. Follow bitfumes on twitter.com/bitfumes or facebook.com/Bitfumes to get the latest updates.
      bitfumes.com

  • @abdurrazzak9372
    @abdurrazzak9372 4 года назад +1

    wow! new logo looking good.

    • @Bitfumes
      @Bitfumes  4 года назад +1

      Yeaahhhhhhh thanks

  • @SpaceCoding
    @SpaceCoding 4 года назад +2

    Hello bro!
    Do you have videos with creating vue + laravel spa but not full app. Something like half-spa. For example all the pages are simple multi page app, and only routes with /cabinet/* are single page application.

    • @Bitfumes
      @Bitfumes  4 года назад +2

      Yes sure, videos are coming very soon

  • @MarcelloPato
    @MarcelloPato 4 года назад +1

    AWESOME!

    • @Bitfumes
      @Bitfumes  4 года назад +1

      Yeahhhhhhhhhhh

  • @mharbhr44
    @mharbhr44 3 года назад

    Any example to use sunctom with fortify?

  • @OvaisDIYGarage
    @OvaisDIYGarage 4 года назад

    Im new to all of this api stuff im making a photo sharing app can i use airlock for my prpject. Im nlt using separate vue file like you im using vue components inside the laravel application. Kinsly suggest should i use airlock or stick with jwt or passport

  • @firmanadetia5700
    @firmanadetia5700 4 года назад

    Hello, nice content, it's very helpful, I'm wondering, how about the mobile authentication, in the docs said, the config/sanctum.php we need to configure the SANCTUM_STATEFUL_DOMAINS, if the request came from a mobile, what we need to put in this config?

  • @nabeelyousafpasha
    @nabeelyousafpasha 4 года назад

    Respect from Pakistan.

    • @Bitfumes
      @Bitfumes  4 года назад

      Thanks for your love and support, keep learning. Follow bitfumes on twitter.com/bitfumes or facebook.com/Bitfumes to get the latest updates.
      bitfumes.com

  • @brwaata3001
    @brwaata3001 4 года назад

    That was awesome

  • @xkiller838
    @xkiller838 4 года назад +1

    gracias esta genial

    • @Bitfumes
      @Bitfumes  4 года назад

      Thanks for your love and support, keep learning. Follow bitfumes on twitter.com/bitfumes or facebook.com/Bitfumes to get the latest updates.
      bitfumes.com

  • @sulaypanchal8168
    @sulaypanchal8168 4 года назад

    Hello,
    I have implement all the things that you told us to do and it is working perfectly in my local but when I push my code to Iive I am getting this error "Auth guard [sanctum] is not defined."
    can you please advice
    Thank you

  • @pembatamang5716
    @pembatamang5716 4 года назад

    after logout status 200 still i can get user data.It should say 401 unauthorized but i am still getting data.So i am confused whether i am loggedout or not.

  • @mazharulalam3885
    @mazharulalam3885 4 года назад

    auth()->logout() is nnot working, it's generating an error called "Method Illuminate\Auth\RequestGuard::logout does not exist"

  • @GulzarAhmed7
    @GulzarAhmed7 4 года назад

    Which sublime font do you use for cursive fonts ?

  • @paradisetrip2220
    @paradisetrip2220 4 года назад

    Please make a video on how can we implement antilock in lumen

  • @kossiecoder
    @kossiecoder 4 года назад

    Thank you for a great tutorial on airlock! I just have a quick question. I've tried to add middleware(auth:airlock) to logout api and sent api request to logout, and I got error but when I remove that middleware it works like you did!
    I thought having middleware would be fine because when I send the logout request I am authenticated but didn't work.
    Do you know why that wouldn't work? thanks again for this awesome video!

    • @RobertoGarcia-gs9ut
      @RobertoGarcia-gs9ut 4 года назад

      You can use the airlock or sanctum middleware in all user actions when you dont need stay authenticated the logout and login usually not are protected by any middleware

  • @cali4484
    @cali4484 4 года назад

    is there any way for using this way of SPA authentication to login from different domains (not sub domain) ???

    • @Bitfumes
      @Bitfumes  4 года назад

      Then you need to use token instead of SPA mode of sanctum

  • @shaheduzzamanshahed3474
    @shaheduzzamanshahed3474 4 года назад +1

    done everything same but after login when trying to get user it says unauthorized

    • @oyeniyijoseph2479
      @oyeniyijoseph2479 4 года назад

      same issue here, Status Code: 401 Unauthorized

    • @shaheduzzamanshahed3474
      @shaheduzzamanshahed3474 4 года назад

      Still find no reason except I have done frontend and api in same laravel project. And by the way it's working on the postman

  • @francisgill9455
    @francisgill9455 4 года назад

    how to implement with nuxt ???

  • @creative-commons-videos
    @creative-commons-videos 4 года назад

    will this work with React Native API ?

  • @AashuMishra-lastpiece
    @AashuMishra-lastpiece 4 года назад

    Airlock is't not working if Laravel and frontend is setup on different domains. If I install laravel and frontend on same domain it works perfectly fine. DO you know the issue ?

    • @tamlq97
      @tamlq97 4 года назад

      Really, i not trying yet,

    • @kossiecoder
      @kossiecoder 4 года назад

      looks like airlock only works on same domain or sub domain?

    • @AashuMishra-lastpiece
      @AashuMishra-lastpiece 4 года назад

      @@kossiecoder I think on cross domain Cooke is not created that's the problem we have to crate a middleware on laravel inst. Where we have pass Cookie ourself,

  • @_frankrocha
    @_frankrocha 4 года назад

    vscode theme ?

  • @4gamersshop
    @4gamersshop 4 года назад

    How to update the laravel version from 6 to 7 ?

    • @yamianansi
      @yamianansi 4 года назад +1

      laravel.com/docs/7.x/upgrade

    • @Bitfumes
      @Bitfumes  4 года назад

      Check this out , ruclips.net/video/-5QcxlpyA7Y/видео.html

  • @jayceedaily
    @jayceedaily 4 года назад

    You didn't even bother to change the variables you copied from Andre. Unsubbed 👎

    • @Bitfumes
      @Bitfumes  4 года назад

      Which variables ?