Launch HN: Better Auth (YC X25) – Authentication Framework for TypeScript
81–90 of 112 posts
Re: Launch HN: Better Auth (YC X25) – Authentication Framework for TypeScript
#82I'm very tempted to make the leap from Lucia to Better Auth for a greenfield project, but the thought of jumping yet again from one auth solution to another is making me hesitate. If there are any satisfied (or unsatisfied) devs who have attempted the Lucia -> Better Auth transition, I'd love to hear your thoughts on this!
Re: Launch HN: Better Auth (YC X25) – Authentication Framework for TypeScript
#83It feels wrong in 2025 that Passkey support isn't up-front and first class and is relegated to a plugin.
Re: Launch HN: Better Auth (YC X25) – Authentication Framework for TypeScript
#84Are there any tests for this? How do I know if this actually works in the long term?
https://github.com/search?q=repo%3Abetter-auth%2Fbetter-auth...
Re: Launch HN: Better Auth (YC X25) – Authentication Framework for TypeScript
#85Re: Launch HN: Better Auth (YC X25) – Authentication Framework for TypeScript
#86Re: Launch HN: Better Auth (YC X25) – Authentication Framework for TypeScript
#87Earlier quoted context omitted.
- Not right now, but there’s already an open issue and a PR in progress. - We don’t use JWTs directly, and sessions always require state (it’s not stateless). And yeah, both the client and server handles automatic session refresh. - Yes, we support both multiple sessions or having different organizations open in different tab: https://www.better-auth.com/docs/plugins/multi-session - Yes, that’s possible, you just nee…
As another asked, "why?" on no JWT? It makes interfacing with our API servers so much easier as we don't need to maintain infra for sessions and wouldn't be limited by the 4kb limit for sending cookies.
There is a plugin provided by better auth for jwt https://www.better-auth.com/docs/plugins/jwt
We dont need it since everything is a single "server" and cookies are good enough. JWT would be added complexity ( e.g sign out ) that i find it better to not be set as a default.
bonus reading http://cryto.net/~joepie91/blog/2016/06/19/stop-using-jwt-fo...
Re: Launch HN: Better Auth (YC X25) – Authentication Framework for TypeScript
#88[1] https://web.archive.org/web/20250419022421/https://balazsorb...
Re: Launch HN: Better Auth (YC X25) – Authentication Framework for TypeScript
#89It feels wrong in 2025 that Passkey support isn't up-front and first class and is relegated to a plugin.
nobody i know uses it. Talk with circles outside tech and ask them "how many passkeys they have". They will ask you what is a passkey
At this point the chicken and egg onus is on websites to support Passkeys, and to do it as a first-class and recommended experience, not on explaining to average users what a passkey "is" or arguing over how many they have. It is past time for auth frameworks and vendors to start steering people away from passwords (and towards passkeys, whether you want to "brand it" as passkeys or not).