It feels wrong in 2025 that Passkey support isn't up-front and first class and is relegated to a plugin.
Launch HN: Better Auth (YC X25) – Authentication Framework for TypeScript
41–50 of 112 posts
Re: Launch HN: Better Auth (YC X25) – Authentication Framework for TypeScript
#42Earlier quoted context omitted.
Hey I just converted my 0-user project from Lucia to Better Auth, and I had a few notes. Better Auth is great - it just works, but there were a few quirks I had to face, like how it handles everything for you using the auth client instead of giving you helper functions to use to handle login/register requests and make it customizable on the server side The migration was very easy, since I had no users to worry about,…
Thanks for sharing, you've successfully tipped the Better Auth scales for me... Might be too early to tell, but would you say you prefer Lucia or Better Auth at this point? I really like Lucia because of how little magic there is and how I can understand/control everything related to auth. But I wonder if it loses its luster as a project grows.
Re: Launch HN: Better Auth (YC X25) – Authentication Framework for TypeScript
#43Interested to see how the functionality progresses!
Re: Launch HN: Better Auth (YC X25) – Authentication Framework for TypeScript
#44Congrats on getting into YC!
Re: Launch HN: Better Auth (YC X25) – Authentication Framework for TypeScript
#45Heavily evaluated better-auth when implementing auth at my current company. Ended up with keycloak because of SAML SSO.
One thing I remember having some issues with was customising schemas with the drizzle adapter. Looks like you've cleared up the documentation more now. I think at the time I was confused as to wether custom schemas were specified in the drizzle adapter options, or inside the the organization plugin.
Basically mixing up these two: https://www.better-auth.com/docs/plugins/organization#custom... https://www.better-auth.com/docs/adapters/drizzle#additional...
Thanks for all your work, it is a really cool library!
Re: Launch HN: Better Auth (YC X25) – Authentication Framework for TypeScript
#46It feels wrong in 2025 that Passkey support isn't up-front and first class and is relegated to a plugin.
Not many people are implementing passkeys yet, and we don’t want to force that on users. Also, the plugins we provide are still tightly integrated with the framework, you don’t even need to install a separate package, just import them.
Also, there's a huge gap between "we don't want to force that on users" and "we don't advertise it in our top-level marketing site at all". I can't be the only HN reader that is evaluating all libraries like this for Passkey support. It took me four or five clicks to even realize this library even supported Passkeys at all. If I wasn't curious about other Plugins I probably would have dismissed this entire library as outdated for lacking even basic Passkey support.
Re: Launch HN: Better Auth (YC X25) – Authentication Framework for TypeScript
#47Congratulations on the launch! Heavily evaluated better-auth when implementing auth at my current company. Ended up with keycloak because of SAML SSO. One thing I remember having some issues with was customising schemas with the drizzle adapter. Looks like you've cleared up the documentation more now. I think at the time I was confused as to wether custom schemas were specified in the drizzle adapter options, or insi…
Re: Launch HN: Better Auth (YC X25) – Authentication Framework for TypeScript
#48btw i read about your project in x a while ago, nice project!
Re: Launch HN: Better Auth (YC X25) – Authentication Framework for TypeScript
#49I’ve never implemented auth before, and was always thinking that it will take me days to get it right.
I’ve done the whole thing in maybe 3 hours.