Laravel REST API Auth - Email Verification [5]

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

КОМЕНТАРІ • 18

  • @DesignatedCoder
    @DesignatedCoder  3 роки тому +1

    Click to watch the next part: ua-cam.com/video/8lkXJSjPOQU/v-deo.html 👍🏼

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

    Безопасности конечно "0", но метод реально рабочий в наших нелёгких условиях

  • @iffar1830
    @iffar1830 3 роки тому +4

    You have published very useful videos. Especially those related to emails (reset and so on).
    You deserve a kiss.
    Thank you very much for sharing the information. Most people make us pay for tutorials that are far from having the value yours have.

    • @DesignatedCoder
      @DesignatedCoder  3 роки тому

      At some point I will shift to paid courses and maybe do it as an early access type of thing. I just don't have the time to commit to it just yet. I'm glad you're finding value in these

  • @xeonm8415
    @xeonm8415 3 роки тому +2

    Thanx a lot! Just I was looking for

  • @heraldocastillo8763
    @heraldocastillo8763 3 роки тому +1

    Hi, thank you for the excelent video. I have a question, on resend method (front-end) i have to take off the request to sanctum/csrf-cookie because was killing my current user session. is that a back practice or anything wrong??

    • @DesignatedCoder
      @DesignatedCoder  3 роки тому +1

      Hey there Heraldo Castillo. Thanks for watching. Welcome to the channel! 😎
      Thanks for the question. Logically speaking if you're sending data to your server that has anything to do with authentication, you really should get a fresh cookie/token. I don't know if it's an official best practice but it's definitely something I practice. If you choose to remove the line of code just make sure to check the security of what happens when the function is run without it. Hope this helps

  • @kevinwakhisi7001
    @kevinwakhisi7001 3 роки тому +1

    I have been following along and I was asking how would I implement acl in nuxt using spatie permissions as my package.

    • @DesignatedCoder
      @DesignatedCoder  3 роки тому

      You would use it the same as you would normally. I have an entire series on admin panels using the spatie laravel-permissions package. Here's the link to set it up in laravel. Hopefully it can give you some ideas on how to set it up with nuxt.
      ua-cam.com/video/feYE2d4j9so/v-deo.html

  • @macroraptor-j5f
    @macroraptor-j5f 2 роки тому +1

    Thank you for the video. I, however, have a problem when I click on the email link. It redirects me to localhost 8000. My spa runs on localhost 3000. How can I solve this?

    • @DesignatedCoder
      @DesignatedCoder  2 роки тому

      Hey there micro raptor. Thanks for watching. Welcome to the channel! 😎 Have you added the spa url to your .env file in the api folder?

  • @arslanjaved5625
    @arslanjaved5625 2 роки тому

    How to get an email verification code along with an email verification email.

  • @osama6795
    @osama6795 2 роки тому +1

    how can we do the same thing with react js?

    • @DesignatedCoder
      @DesignatedCoder  2 роки тому

      Hey there Osama Ali. Thanks for watching. Welcome to the channel! 😎 I haven't used react but this project is designed to have any frontend you want. Earlier in this series we set up authentication with sanctum, so after you've seen that you can check react docs to see where you would set up the configuration for it. Good luck to you.

    • @osama6795
      @osama6795 2 роки тому +1

      @@DesignatedCoder Thank you for your reply, but how have you not used reactjs? or why haven’t you? its much better and superior than vue or angular

    • @DesignatedCoder
      @DesignatedCoder  2 роки тому +1

      Hey there, Osama Ali! Thanks for the question. When I started out I learned python, then vanilla js and php, and when I started looking at frameworks I picked Laravel and at the time Vue was baked into it. I just haven't gotten around to deep diving into React yet but it is on my list. I've lightly tinkered with it but that's about it. As far as better or superior, I don't really have an opinion on that as unless you are working for someone who has specific needs, it really comes down to personal preference and what works best for you. I will be implementing React in some projects for this channel but it'll be a ways before I get to that. I'm glad you're enjoying React and that it's working out for you!

  • @dmitriykret8938
    @dmitriykret8938 2 роки тому +1

    +