Implementing Auth from scratch - no dependencies!

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

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

  • @AtilaDotIO
    @AtilaDotIO  2 месяца назад +4

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

    • @otisrancko
      @otisrancko 2 месяца назад

      Thanks for the great content...

  • @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! 😎

  • @neat7673
    @neat7673 2 месяца назад +3

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

    • @AtilaDotIO
      @AtilaDotIO  2 месяца назад +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 2 месяца назад

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

  • @kronosthesoulshaker
    @kronosthesoulshaker Месяц назад

    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!

  • @christhornham
    @christhornham 2 месяца назад +3

    Thank you! Great video.

    • @AtilaDotIO
      @AtilaDotIO  2 месяца назад +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 2 месяца назад

      From twitter you mean?

    • @prashlovessamosa
      @prashlovessamosa 2 месяца назад

      @@jp263 yep😁

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

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

  • @paxeealex
    @paxeealex 2 месяца назад +1

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

    • @AtilaDotIO
      @AtilaDotIO  2 месяца назад

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