This Might Be My New Favourite Auth Library 🔥

Поділитися
Вставка
  • Опубліковано 11 січ 2025

КОМЕНТАРІ •

  • @WebDevCody
    @WebDevCody 2 місяці тому +95

    I got the shout out! let’s go you beautiful people!

    • @developedbyed
      @developedbyed  2 місяці тому +5

      hahaha good to have ya, binge all your videos 💖

    • @ManojKumar-gl3re
      @ManojKumar-gl3re 2 місяці тому +1

      Try stack auth ( I am also contributing there)

    • @vpetryniak
      @vpetryniak 2 місяці тому

      @@ManojKumar-gl3rejust checked it out. It is next js specific which is a big drawback for me. A lot of people use separate node js server, so framework agnostic auth library is much better

    • @OnlyJavascript
      @OnlyJavascript 2 місяці тому

      @@ManojKumar-gl3re sorry...

  • @developedbyed
    @developedbyed  2 місяці тому +79

    I'd love to do a full walktrough of implementing everything in Lucia or a deeper dive in better-auth lemme know 👍👍

    • @theBarracuda_
      @theBarracuda_ 2 місяці тому +9

      better-auth is in beta still, also it has 34 dependencies 🙄

    • @prashlovessamosa
      @prashlovessamosa 2 місяці тому +5

      Yes ED it's still in beta please make a comprehensive one after any major release.

    • @theklr
      @theklr 2 місяці тому +2

      Would love better auth

    • @theodorenegusu418
      @theodorenegusu418 2 місяці тому +8

      Yeah they have a lot of feature for a beta could you please make a deeper video building a full project like a saas or something like that once they're hit v1.

    • @marshy9465
      @marshy9465 2 місяці тому

      Would be cool if you can make a deeper dive on better-autho!

  • @Solohd12
    @Solohd12 2 місяці тому +49

    Beka good work 🇪🇹🇪🇹🇪🇹

  • @Twas-RightHere
    @Twas-RightHere 2 місяці тому +21

    Honestly the amount of problems I've had with NextAuth, including handling redirects... I'm switching to this immediately!

  • @arttx
    @arttx 2 місяці тому +21

    Lucia is not deprecated. `lucia` package is. Please read announcement. There is no need for package anymore as it only combines Arctic and Oslo packages (same author) with 100 lines code. Lucia is still developed, but it will be replaced with documentation on how you can implement auth yourself using 2 packages. It will make the best control and customizability of your auth.

    • @ritikshah1516
      @ritikshah1516 2 місяці тому

      Can you show me how to do that?

    • @arttx
      @arttx 2 місяці тому

      @@ritikshah1516 There is official documentation on Lucia website. Please take a look.

  • @Pulguetafx
    @Pulguetafx 2 місяці тому +3

    I just moved from the Lucia package to Cody's walkthrough and I already want to move to this library omg

  • @eyobatnafu4007
    @eyobatnafu4007 2 місяці тому +1

    Better Auth is featured!!
    Congrats Beka! out here kicking ass and taking (well documented) names 👏👏🇪🇹

  • @ShadowsPowerFy
    @ShadowsPowerFy 2 місяці тому

    Looks cool, hope to see they will support a lot of stuff! :)

  • @ricko13
    @ricko13 Місяць тому +1

    videos starts at 5:30

  • @henaorth
    @henaorth 2 місяці тому +1

    Proud of you beka 🇪🇹

  • @TianYuanEX
    @TianYuanEX 2 місяці тому +1

    Hell yeah, someone is finally taking about better auth!

  • @EufratesTigris
    @EufratesTigris 2 місяці тому

    you are the best of the best bru, love from Uruguay my friend!

  • @mdalmamunit427
    @mdalmamunit427 2 місяці тому

    Every time you post, I know I’m going to learn something new. 🙌

  • @codernerd7076
    @codernerd7076 2 місяці тому +16

    This will take over as the main auth package soon!

  • @rod6722
    @rod6722 21 день тому

    This is the kind of thing that NextJS should have built-in.

  • @mohamedyoussef8835
    @mohamedyoussef8835 2 місяці тому +1

    Yes... Please make a full video on BetterAuth

  • @dawitz362
    @dawitz362 2 місяці тому +6

    Beka amusing work🇪🇹🇪🇹🇪🇹🇪🇹.

  • @woufo
    @woufo 2 місяці тому +2

    I already tested on remix it works fine. But the plugin it doesn’t show for type completion. I hope it going to release for production use soon.

  • @yummigummi4116
    @yummigummi4116 2 місяці тому

    Thank you, Sir! They should improve their SEO. I was looking around for good auth, found codys video, then yours.

  • @BekaMan323
    @BekaMan323 2 місяці тому +2

    Great work from beka🎉

  • @pratikpatil5876
    @pratikpatil5876 2 місяці тому

    I need a full video on this nice library❤

  • @productivecitizen71
    @productivecitizen71 2 місяці тому +3

    Just got AuthJS to (sort of) work 😢 a few minutes of reading better-auth's documentation and I'm more or less convinced to switch

  • @kazmi401
    @kazmi401 2 місяці тому +57

    Lucia is getting depricated soon.

    • @derproka
      @derproka 2 місяці тому +3

      Deprecated

    • @ncpurge789
      @ncpurge789 2 місяці тому

      Yeah like he mentioned, watch the video

    • @kazmi401
      @kazmi401 2 місяці тому

      @@derproka

  • @cholasimmons
    @cholasimmons 8 днів тому

    I too recently started migrating from Lucia to BetterAuth but I'm not understanding the clientAuth system, Im using custom ElysiaJS route controllers (because I have to cache and trigger events), do i run clientAuth functions from within there?
    cannot find any examples on the web

  • @kawaritaiii
    @kawaritaiii 2 місяці тому +1

    why is there a huawei icon in his vscode ☠

  • @abhishekgandhi6593
    @abhishekgandhi6593 2 місяці тому +1

    Hy Bro i want a complete tutorial on better-auth❤

  • @Thinker-n9x
    @Thinker-n9x Місяць тому

    Ould u pls do amutitenant feature using better-auth 🙏?

  • @thomaswilliams5599
    @thomaswilliams5599 Місяць тому

    Passkeys is where you get me!

  • @karlcolins8913
    @karlcolins8913 Місяць тому

    Hi , do you mind doing a hono tutorial with better Auth😣

  • @Q-Productions23
    @Q-Productions23 2 місяці тому +1

    Kinde auth is very good too. It’s free till 10,000 users

  • @rahelwondm2421
    @rahelwondm2421 2 місяці тому

    Let's see more of this please

  • @bandr-dev
    @bandr-dev 2 місяці тому

    next auth is moving to v5 now. Way simpler, but why is it so unstable? who knows. What do you think about writing your own auth as a microservice written in go and served from a container?

    • @adamtorma6173
      @adamtorma6173 2 місяці тому

      I think you might want to try Keycloak. Only downside in my opinion is the UI, which is really hard to customize.

  • @vend1k
    @vend1k 2 місяці тому

    I’m trying to add this into nestjs application and i have an interesting question. I’m really need to install and use prisma client in backend?.. i know i should use it in nextjs, but in nestjs i never use it

  • @kayondoedward
    @kayondoedward 2 місяці тому

    the issue with most especially next-auth is the react natvie support, does this support

    • @leularia
      @leularia 2 місяці тому +1

      They have jwt support

  • @refeals
    @refeals 2 місяці тому +1

    does it work well with Prisma too? seems like a really good library. i have had my share of nightmares with Next-auth too...

    • @developedbyed
      @developedbyed  2 місяці тому +3

      Yeah you can toggle between adapters, got prisma as well 👍

    • @refeals
      @refeals 2 місяці тому

      @@developedbyed nice, will definitely give it a try tomorrow

    • @bhaveshxrawat
      @bhaveshxrawat 2 місяці тому

      ​@@refealshi did you got it work with prisma, gives me internal server error

    • @refeals
      @refeals 2 місяці тому

      @@bhaveshxrawat not yet bro, but I checked the docs and there's steps to do it there

  • @lokeswaranaruljothy8100
    @lokeswaranaruljothy8100 2 місяці тому

    After a year, I tried nextauth with session auth, but there was an issue with the middleware. It is because of edge run time, bla...blaa. How does better-auth handle this?

  • @mikoajkaleta6856
    @mikoajkaleta6856 2 місяці тому +6

    is better-auth free to use? I dont see any pricing section

    • @ahmedkhabar
      @ahmedkhabar 2 місяці тому

      it's a library you can adding it to your project and use it for free of course, it's not a service provider like Clerk.

    • @theodorenegusu418
      @theodorenegusu418 2 місяці тому +2

      Yes it's free

    • @developedbyed
      @developedbyed  2 місяці тому +4

      open sauceee 💖

    • @FourZero
      @FourZero 2 місяці тому

      And under MIT! So go support and try it!

  • @aghileslounis
    @aghileslounis 2 місяці тому +1

    Excellent video, short and concise!
    What's your secret to being full of joy 😄I WANT that

  • @TheCodeDealer
    @TheCodeDealer 2 місяці тому

    Is teachable cheap to host your courses there? Why didn't you maybe host them here, but students have to pay from your custom site to have access.

  • @tiagoagm
    @tiagoagm 2 місяці тому

    Very nice, how do you protect the routes?

  • @bigshade577
    @bigshade577 2 місяці тому

    Make a full video bro

  • @helsingking281
    @helsingking281 2 місяці тому

    Took me literally 3 minutes to add magic links to Lucia. It's simply a jwt or some sort of token sent with an email which is validated on the callback. It makes no difference if you are using the "deprecated" or the new "basic version", where you write the 4 simple validation and session functions yourself. I don't understand why everyone is making this Auth thing sound so difficult. Is this just so you can have some new content on this channel?

    • @luca4479
      @luca4479 2 місяці тому

      This. Thank you

  • @julianklumpers
    @julianklumpers 2 місяці тому

    I'm a bit confused with better-auth (public beta) does it mean it is going to offer a paid service after the public beta?

  • @deepjyotideb1173
    @deepjyotideb1173 2 місяці тому

    So how long till it gets deprecated?

  • @aadazq5257
    @aadazq5257 2 місяці тому

    vscode themes?

  • @joaosaraiva1998
    @joaosaraiva1998 2 місяці тому

    vs code theme pls

  • @fhorray
    @fhorray 2 місяці тому

    thisbis already my fav. auth lib hahhaha

  • @thekj_script1311
    @thekj_script1311 2 місяці тому

    Beka my goat

  • @mohammadabbas1623
    @mohammadabbas1623 2 місяці тому

    Lovebyed

  • @loznicafk
    @loznicafk 2 місяці тому

    can you make an video using this auth package with custom BE API that returns auth token and refresh token on user login ? :) Preferable on next 14 :) You are the best, keep up the good work :)

  • @srymisclick
    @srymisclick 2 місяці тому

    Can you put your camera more in line with your mic please. You constantly turn towards camera when talking and the volume amplitude is very annoying because you have aggressive gate (I assume).

  • @yashsolanki069
    @yashsolanki069 2 місяці тому

    But better-auth is still in beta right ??

    • @theodorenegusu418
      @theodorenegusu418 2 місяці тому +6

      Yeah you should check out there round map they are realizing v1 soon

    • @developedbyed
      @developedbyed  2 місяці тому +1

      yeah he's working on it pretty much everyday, was looking on his github

  • @konrad2431
    @konrad2431 2 місяці тому

    I just use kinde/clerk. I actually prefer to focus on the product itself than auth. If self-hosted u also have ory kratos, zitadel, authentik, keycloak. But clerk/kinde gives u 10k users completely free so if you get that you are already rich anyway ....

  • @iLiran
    @iLiran 2 місяці тому

    Cool, but it needs time to cook.

  • @codenerd7823
    @codenerd7823 2 місяці тому

    Lucia auth is officially deprecated :(

  • @AyanPlayyz
    @AyanPlayyz 2 місяці тому

    They don't recommend using it in production sadly :(

  • @camiloromero7633
    @camiloromero7633 2 місяці тому

    Move to neovim man 🤘🏽🔥

  • @a.galvaop.787
    @a.galvaop.787 2 місяці тому

    Like this so I can rewatch later please.

  • @kasper369
    @kasper369 2 місяці тому

    Isnt Auth.js enough?

  • @ziyadhasen
    @ziyadhasen 2 місяці тому

    W beka

  • @jepqmw
    @jepqmw 2 місяці тому

    sadly lucia will be deprecated end of the year

  • @testing-j
    @testing-j 2 місяці тому +1

    ❤ Better Auth! Thanks ed

  • @nixoncode
    @nixoncode 2 місяці тому

    Are you this nice in real life as you are on the internet?

  • @helsingking281
    @helsingking281 2 місяці тому

    My dude, you literally can't even signup with Magic links when using "better auth". All these frameworks that try to do all the logic for you are BS. It takes me 3 minutes to add the logic to Lucia for Magic links. The deprecated or the new "no framework" version. This is just bad advice.

  • @paulvickers8059
    @paulvickers8059 2 місяці тому

    I haven't watched the vid yet, so don't know if you mentioned, but the library is being deprecated.

    • @gadisateklu4879
      @gadisateklu4879 2 місяці тому +1

      It's Lucia which is getting deprecated, definitely not Better-Auth 🚀🚀

  • @kaleabtariku-q2t
    @kaleabtariku-q2t 2 місяці тому +1

    Beka on fire 🔥 🇪🇹

  • @dreamsachiever212
    @dreamsachiever212 2 місяці тому +1

    another library hahaha 😂 😂

  • @subproject2771
    @subproject2771 2 місяці тому

    Imagine promoting a Lucia rip-off from some "dev" from Addis Abeba (what the hell is this place?) for you AUTH. This youtuber is the worst.

  • @kidusabebe2645
    @kidusabebe2645 2 місяці тому

    Beka and Kinfe from BetterAuth great Job Guys. 🇪🇹🇪🇹🇪🇹🇪🇹🇪🇹🇪🇹 Ethiopia 🎉

  • @flymetothemoon5138
    @flymetothemoon5138 2 місяці тому

    Just here to say Next Auth is a steaming pile, and their docs are worse

  • @DaveMacpherson
    @DaveMacpherson 2 місяці тому +1

    It's being deprecated

    • @rxnniiee
      @rxnniiee 2 місяці тому +1

      yes but that's good, there isn't too much to auth and lucia made a guide on how to implement it in your own code, which would better suit your codebase anyway

    • @DaveMacpherson
      @DaveMacpherson 2 місяці тому

      @@rxnniiee Yes, I know. I read the guide. I just thought I'd mention that he shouldn't be excited for the future of this library if this library has no future 😊 If you haven't already watched it, check out WebDevCody's video on the subject.