Implementing Auth from scratch - no dependencies!

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

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

  • @AtilaDotIO
    @AtilaDotIO  2 หลายเดือนก่อน +4

    Source code for this video:
    github.com/atilafassina/auth-unstorage

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

      Thanks for the great content...

  • @neat7673
    @neat7673 หลายเดือนก่อน +3

    Damn, that Minecraft Steve was on point 👌 14:13

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

      hahaha, yeah! I like adding those little nuggets to break the seriousness... sort of how my focus wanders every now and then. I'm happy you found it nice instead of distracting 😅

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

      @@AtilaDotIO I totally agree, the Steve was on point, made me smile. The Deadpool audio was distracting though. Too much background noise in that clip, would've been better/funnier muted.

  • @lebeeg
    @lebeeg 2 หลายเดือนก่อน +3

    Thank you Atila for this channel... been a great ressource for leveling up SolidStart dev skills.

    • @AtilaDotIO
      @AtilaDotIO  2 หลายเดือนก่อน

      Appreciate you saying that!! There much more coming! 😎

  • @christhornham
    @christhornham 2 หลายเดือนก่อน +3

    Thank you! Great video.

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

      Thanks a lot, Chris! I hope it's aligned with what you were thinking for CSRF Protection and that it helps you moving forward 😊

  • @prashlovessamosa
    @prashlovessamosa 2 หลายเดือนก่อน +4

    Woah I came from X I am learning solid I didn't know about your channel really good stuff please create more solid stuff.

    • @AtilaDotIO
      @AtilaDotIO  2 หลายเดือนก่อน

      Thanks a lot for this wholesome comment!! 😎
      it makes my day knowing people are enjoying it and it fuels my motivation!

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

      From twitter you mean?

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

      @@jp263 yep😁

  • @kronosthesoulshaker
    @kronosthesoulshaker 19 วันที่ผ่านมา

    Thank you so much for your video! I've learned two new things and I've updated my projects with the new knowledge. Can you please post more videos on security for SolidStart?
    Thank you again!

  • @joshuarussell4841
    @joshuarussell4841 2 หลายเดือนก่อน +3

    how did you get solid icons in your explorer 🤯

    • @AtilaDotIO
      @AtilaDotIO  2 หลายเดือนก่อน

      my VSCode settings json:
      ```json
      "catppuccin-icons.associations.files": {
      "app.config.ts": "solid"
      },
      "catppuccin-icons.associations.extensions": {
      "tsx": "solid",
      "jsx": "solid"
      }
      ```
      I use catppuccin.com/ theme and icons

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

    Could have included a login with google setup ✌😁 But thanks Atila!

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

      The idea of this guide was to show that SolidStart has all you need to roll your own auth system and how to do it. I have a few follow-ups planned already (for verifying emails, OTP tokens, and SSO)
      But if you're in need of SSO right now, I'd recommend MediaKit/Auth, it uses Auth.js and would then cover google and other SSO providers.
      The guide I'm preparing is with AuthPC (mediakit-taupe.vercel.app/authpc/introduction) which uses MediaKit/Auth and so you can use for that. 😉

  • @ChronoCZ
    @ChronoCZ 2 หลายเดือนก่อน +2

    On login/logout I would just invalidate all the cache keys. You never know ;)

    • @AtilaDotIO
      @AtilaDotIO  2 หลายเดือนก่อน +2

      That's reasonable, I wouldn't hold it against you.
      It may get hard to maintain revalidating all of them or it can cause some unnecessary requests.
      Hopefully you have only a few methods that depends on the session and thus the rest would cascade down if really necessary.