Serverless Auth with Lucia Auth V3

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

КОМЕНТАРІ • 34

  • @dashx2
    @dashx2 6 місяців тому +3

    I would definitely want to see Lucia Auth V3 with OAuth for google and facebook.

  • @MarkDeibert
    @MarkDeibert 6 місяців тому +3

    Awesome video my friend! I'm really loving Hono JS in Cloudflare Pages lately. You can build and deploy a site super quick with these. For this Lucia Auth demo, it would be cool to see you add the "email verification", "login fails lockout" and the "password reset" code. Might be neat to later add user "avatars". But yeah, anyway, *great* stuff. Keep it going :-)

    • @cdbrw
      @cdbrw  6 місяців тому +3

      User avatars is already on the list. I've wanted to try out their file storage for some time now so will definitely make a video on that. Will also add the other ones to my list, all really good topics. Thanks! 🙏

    • @MarkDeibert
      @MarkDeibert 6 місяців тому

      @@cdbrw I have R2, D1, KV and Images code in a few different projects. It's amazing what Cloudflare is doing. So much functionality in so few lines of code

  • @cdbrw
    @cdbrw  6 місяців тому +10

    I somehow managed to pronounce Lucia in 50 different ways in this video 😅

  • @LeaTamola
    @LeaTamola 5 місяців тому +1

    This was great, thank you so much for the content!

  • @jonoisedev
    @jonoisedev 6 місяців тому +1

    im planning to migrate my app `/api` routes to an actual server because i'm gonna need to make a mobile app out of it. they currently are nextjs routes with next-auth. im liking Hono a lot! thanks for the content!

    • @cdbrw
      @cdbrw  6 місяців тому

      I like the ease of setup with cloudflare workers but I still think, depending on the project ofc, that having a proper server is where it's at

  • @technoM4niac
    @technoM4niac 6 місяців тому +1

    Amazing video my friend. I've learned alot!

  • @riley_was_there
    @riley_was_there 6 місяців тому

    What a fantastic series! Thank you so much for putting this out there. You do a great job of keeping things brief but still explaining everything very well
    Please keep it going! I’d love to see how you would implement multiple login options, including OAuth. Your app is more of a CMS for a blog right now, so maybe you could add a page for each post that anyone can view? You can style the content nicely using the tailwind typography plugin. You could also show how to generate url slugs from the blog titles.
    One other thing I’m curious about regarding this stack is generating custom tailwind stylesheets rather than using the CDN. Any idea how to set this up?
    Thanks again for the awesome series! I’ve learned a ton

    • @cdbrw
      @cdbrw  6 місяців тому

      Appreciate the really nice comment, made my day 😭
      Yea the plan is definitely to keep building on it and adding new features. Ill for sure make a video on OAuth! I've kind of kept the front-end changes that I make off camera just so the videos don't end up being 2 hours long but if there's value there I can definitely start showing more of that too.
      So you mean directly installing tailwind into the project as opposed to using the CDN to import it through a script tag?

    • @riley_was_there
      @riley_was_there 6 місяців тому

      @@cdbrw If you want to keep it focussed on backend it’d be great to see a demo of how to implement file uploading and hosting!

  • @AllanDeutsch
    @AllanDeutsch 5 місяців тому

    Would love to see SSO via SAML using lucia!

  • @davidsiewert8649
    @davidsiewert8649 6 місяців тому +1

    It seems like a bad developer experience not having live reload / HMR then developing on the Frontend - that's the main Advantage then writing JSX (in comparison to simple string template literals).
    I guess you would have to run a separate vite/nextjs dev server to have a nice developer experience in parallel to your hono/bun api server.

  • @MohamedElguarir
    @MohamedElguarir 6 місяців тому

    Amazing content man, Thanks a lot🙏🙌🏻
    if you could implement role based auth using lucia that would be amazing!

    • @cdbrw
      @cdbrw  6 місяців тому +1

      Thanks! Will add it to my list 😉

  • @oyal616
    @oyal616 6 місяців тому

    Excellent video. I really like it.

  • @shaked1233
    @shaked1233 6 місяців тому

    Great vid, subscribed!

    • @cdbrw
      @cdbrw  5 місяців тому

      Thanks 🙏

  • @whit6119
    @whit6119 6 місяців тому

    Great video. Does Scrypt hash the password within the clodulfare workers request CPU time?

    • @cdbrw
      @cdbrw  6 місяців тому +1

      For cloudflare workers the options seem to be limited to basically just pure JS hashing libraries and the Lucia Scrypt implementation is one of those. Lucia actually recommends to stay away from runtimes like cloudflare workers when it comes to hashing passwords. I've not had issues with it so far but I've also not had to use it at any sort of scale so I can't speak on how reliable it is to stay within the request time

    • @whit6119
      @whit6119 6 місяців тому

      @@cdbrw yes I found Lucia a little confusing as it says it works with runtimes like cloudlareflare workers but then it says for password hashing not to use cloudflare workers runtime. Glad to hear you have no issues so far, I wonder how it scales.

  • @qualifyernst4576
    @qualifyernst4576 6 місяців тому

    Can you do, video, on Lucia auth, in a MERN stack, using next.js

    • @cdbrw
      @cdbrw  6 місяців тому

      Yup, have a few Nextjs videos lined up 😉

  • @sujjee
    @sujjee 3 місяці тому

    hey @cdbrw how to use integer instead of text for id in users table?? i didn't any doc for this

    • @cdbrw
      @cdbrw  3 місяці тому +1

      hey! if you scroll to the bottom of this page: lucia-auth.com/basics/users they have a section on how to change the type of the user id to a number
      will also be covering how to do this in a future video 👍

    • @sujjee
      @sujjee 3 місяці тому

      @@cdbrw thanks man!

  • @gustavo-oi1dd
    @gustavo-oi1dd 6 місяців тому

    hey man, great video, what theme do you use, I love it

    • @cdbrw
      @cdbrw  6 місяців тому

      Thanks! It's called Vesper++

    • @gustavo-oi1dd
      @gustavo-oi1dd 6 місяців тому

      @@cdbrw thank you!

  • @funfstuck
    @funfstuck 5 місяців тому

    it'd be cool if you used ер app router

  • @Mohaned-m1w
    @Mohaned-m1w 6 місяців тому

    i'm a video editor who is a computer science student as well how can i contact you to start working together?

    • @cdbrw
      @cdbrw  5 місяців тому

      Hey, feel free to shoot me a dm on twitter! I’m pretty active on there