Simple Cookie Retrieval: One Effortless Method

แชร์
ฝัง

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

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

    I can't wait for the full course

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

    I can't wait for the course as well, I need to fully understand how to guard login and authenticated routes on my vue app with laravel sanctum cookie based authentication

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

    I'm really waiting for the course 👏

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

    i hope U make a video about laravel rest api with token (stateless) and using them in vuejs3

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

    May I ask why you are using axios and not the Vue 3 useFetch?

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

      No other reason than personal preference 😄

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

      Thanks for the question!
      Most videos will have an F.A.Q section where I address questions that might arise after watching the video.
      Things like:
      "why this, why not that"
      "what happens when the csrf cookie expires"
      "do I always need to make a csrf-cookie request?"
      and so on..
      I've added yours as well: i.postimg.cc/MG1f56tB/Screenshot-2023-12-16-at-14-01-19.png 😃

  • @mo0nix592
    @mo0nix592 8 หลายเดือนก่อน

    why my cookie browser empty after get /sanctum/csrf?

    • @cdruc
      @cdruc  8 หลายเดือนก่อน +1

      spa and api domains are different, you messed up with the session_domain config value, you don’t have cors support_credentials set to true, you dont set credentials: include or withCredentials: true (axios) when making the request.
      any of these might cause it