@@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
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.
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.
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
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?
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
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?
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?
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 :)
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).
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 ....
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.
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
@@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.
I got the shout out! let’s go you beautiful people!
hahaha good to have ya, binge all your videos 💖
Try stack auth ( I am also contributing there)
@@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
@@ManojKumar-gl3re sorry...
I'd love to do a full walktrough of implementing everything in Lucia or a deeper dive in better-auth lemme know 👍👍
better-auth is in beta still, also it has 34 dependencies 🙄
Yes ED it's still in beta please make a comprehensive one after any major release.
Would love better auth
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.
Would be cool if you can make a deeper dive on better-autho!
Beka good work 🇪🇹🇪🇹🇪🇹
Honestly the amount of problems I've had with NextAuth, including handling redirects... I'm switching to this immediately!
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.
Can you show me how to do that?
@@ritikshah1516 There is official documentation on Lucia website. Please take a look.
I just moved from the Lucia package to Cody's walkthrough and I already want to move to this library omg
Better Auth is featured!!
Congrats Beka! out here kicking ass and taking (well documented) names 👏👏🇪🇹
Looks cool, hope to see they will support a lot of stuff! :)
videos starts at 5:30
Proud of you beka 🇪🇹
Hell yeah, someone is finally taking about better auth!
you are the best of the best bru, love from Uruguay my friend!
Every time you post, I know I’m going to learn something new. 🙌
This will take over as the main auth package soon!
Yessir
This is the kind of thing that NextJS should have built-in.
Yes... Please make a full video on BetterAuth
Yes please 😊
Beka amusing work🇪🇹🇪🇹🇪🇹🇪🇹.
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.
Thank you, Sir! They should improve their SEO. I was looking around for good auth, found codys video, then yours.
Great work from beka🎉
are you beka?
I need a full video on this nice library❤
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
Same 😅
Lucia is getting depricated soon.
Deprecated
Yeah like he mentioned, watch the video
@@derproka
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
why is there a huawei icon in his vscode ☠
Hy Bro i want a complete tutorial on better-auth❤
Ould u pls do amutitenant feature using better-auth 🙏?
Passkeys is where you get me!
Hi , do you mind doing a hono tutorial with better Auth😣
Kinde auth is very good too. It’s free till 10,000 users
Let's see more of this please
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?
I think you might want to try Keycloak. Only downside in my opinion is the UI, which is really hard to customize.
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
the issue with most especially next-auth is the react natvie support, does this support
They have jwt support
does it work well with Prisma too? seems like a really good library. i have had my share of nightmares with Next-auth too...
Yeah you can toggle between adapters, got prisma as well 👍
@@developedbyed nice, will definitely give it a try tomorrow
@@refealshi did you got it work with prisma, gives me internal server error
@@bhaveshxrawat not yet bro, but I checked the docs and there's steps to do it there
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?
is better-auth free to use? I dont see any pricing section
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.
Yes it's free
open sauceee 💖
And under MIT! So go support and try it!
Excellent video, short and concise!
What's your secret to being full of joy 😄I WANT that
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.
Very nice, how do you protect the routes?
Make a full video bro
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?
This. Thank you
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?
So how long till it gets deprecated?
vscode themes?
vs code theme pls
thisbis already my fav. auth lib hahhaha
Beka my goat
Lovebyed
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 :)
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).
But better-auth is still in beta right ??
Yeah you should check out there round map they are realizing v1 soon
yeah he's working on it pretty much everyday, was looking on his github
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 ....
Cool, but it needs time to cook.
Lucia auth is officially deprecated :(
They don't recommend using it in production sadly :(
Move to neovim man 🤘🏽🔥
Like this so I can rewatch later please.
Isnt Auth.js enough?
W beka
sadly lucia will be deprecated end of the year
❤ Better Auth! Thanks ed
Are you this nice in real life as you are on the internet?
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.
I haven't watched the vid yet, so don't know if you mentioned, but the library is being deprecated.
It's Lucia which is getting deprecated, definitely not Better-Auth 🚀🚀
Beka on fire 🔥 🇪🇹
another library hahaha 😂 😂
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.
Beka and Kinfe from BetterAuth great Job Guys. 🇪🇹🇪🇹🇪🇹🇪🇹🇪🇹🇪🇹 Ethiopia 🎉
Just here to say Next Auth is a steaming pile, and their docs are worse
It's being deprecated
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
@@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.