Implementing Auth from scratch - no dependencies!

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

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

  • @AtilaDotIO
    @AtilaDotIO  27 дней назад +4

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

    • @otisrancko
      @otisrancko 24 дня назад

      Thanks for the great content...

  • @lebeeg
    @lebeeg 27 дней назад +3

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

    • @AtilaDotIO
      @AtilaDotIO  27 дней назад

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

  • @christhornham
    @christhornham 27 дней назад +3

    Thank you! Great video.

    • @AtilaDotIO
      @AtilaDotIO  25 дней назад +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 😊

  • @neat7673
    @neat7673 26 дней назад +3

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

    • @AtilaDotIO
      @AtilaDotIO  25 дней назад +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 20 дней назад

      @@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.

  • @prashlovessamosa
    @prashlovessamosa 27 дней назад +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  27 дней назад

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

    • @jp263
      @jp263 24 дня назад

      From twitter you mean?

    • @prashlovessamosa
      @prashlovessamosa 24 дня назад

      @@jp263 yep😁

  • @paxeealex
    @paxeealex 26 дней назад +1

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

    • @AtilaDotIO
      @AtilaDotIO  25 дней назад

      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. 😉

  • @joshuarussell4841
    @joshuarussell4841 27 дней назад +3

    how did you get solid icons in your explorer 🤯

    • @AtilaDotIO
      @AtilaDotIO  27 дней назад

      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

  • @ChronoCZ
    @ChronoCZ 27 дней назад +2

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

    • @AtilaDotIO
      @AtilaDotIO  27 дней назад +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.