Vercel acquired the open-source auth library built to replace the one it already owned

Bereket Engida shipped the first release of Better Auth in September 2024. Less than two years later, after Y Combinator and a Peak XV-led round, he wrote the post announcing his library is joining Vercel.

In brief

Engida frames it as relief, not a sale: joining Vercel lets the team stop 'shaping strategy around monetization' and get back to 'keeping auth open source, framework and platform agnostic.'

The thread wasn't buying the framing. Developers who'd just shipped Better Auth to production started drafting backup plans, one worry leading: nothing stops Vercel from tying the library to its own paid cloud. A blunter read on the whole genre of these deals: 'open source isn't really open any more, it's just pre-acquisition.'

The library built to unseat NextAuth now belongs to NextAuth's owner

Better Auth is joining Vercel
Better Auth is joining Vercel

Better Auth is an open-source, framework-agnostic authentication library for TypeScript, and the tool a lot of developers reached for precisely because they wanted an alternative to Vercel's own NextAuth/Auth.js. Founder Bereket Engida shipped the first release on September 28, 2024, took it through Y Combinator and a Peak XV–led round with 50-plus angels, and less than two years later wrote the post announcing the project is joining Vercel.

His framing is relief, not sale. Joining Vercel, he writes, lets the team stop "shaping the strategy around monetization" and refocus on the original mission — helping developers own their auth. The load-bearing promise: "Vercel shares our commitment to keeping auth open source, framework and platform agnostic." The roadmap adds an "Agent Auth Protocol" for agent-based security workflows, built on Vercel's infrastructure.

One detail the post doesn't dwell on: Vercel already owns NextAuth (now Auth.js). With this deal, a single company controls both of the most widely used open-source auth libraries in the JavaScript ecosystem.

The thread read "joining Vercel" as a countdown

The first substantive reply went straight to lock-in. A full-stack web developer asked the question the announcement avoided:

"can Vercel give any assurance that they won't add a reliance on their closed-source cloud offering for the package? especially given their ownership of next-auth too"

He added the saving grace: Better Auth's database adapters make it "relatively easy to switch over to another provider," which is exactly what several people started pricing out.

The mood hardened into a verdict on the whole genre of these deals. A developer who says he opted out of Better Auth for his latest product put it flatly:

"Open source isn't really open any more. It's just pre-acquisition."

Not everyone was mourning. whalesalad, a YC-backed founder waved the whole category away: "Auth is not hard to roll yourself. Crypto: don't do it. Auth? Easy peasy." A run of commenters pointed to Keycloak, donated to the CNCF in 2023, as the vendor-neutral fallback that can't be acquired out from under them.

The sharpest discomfort came from people already in production. A developer who had just wired Better Auth into a new product wrote that it was "time to start looking for backup plans," adding that "everything [Vercel] has done in the last few years turns into a complicated mess." The complaints weren't only about the deal: a developer who used it for a mobile-app backend noted the OpenAPI spec "gets little care, as it mainly caters for JS frontend, and breaking changes in patch version are more common than most packages."

Engida replied in the thread that Vercel had "been my biggest inspiration" and that the deal lets him get "back focusing full time on building." That is the tension in one page: the founder sees a team freed to build, and a chunk of his users see the countdown to the moment when "framework and platform agnostic" is a promise made by the platform they were trying to stay independent of, rather than a property guaranteed against it.

Get breakdowns like this every day

The top Hacker News stories, unpacked — by email, Telegram, or RSS.

Next story · 17 of 29 Read more
🌍Other

AI labs are hiring philosophers, the NYT says. The thread counted maybe two dozen

The Times profiles a wave of philosophy majors taking research jobs inside AI labs, with NYU's David Chalmers saying demand for them now outstrips supply. The thread's first instinct wasn't to celebrate. It was to count how many such jobs actually exist.

★ 141 · 💬 214 · nytimes.com · 3 min