Val Town's Authentication Migration: From Supabase to Clerk to Better Auth
By
Tom MacWright
Baker's choice. Dense with flavour, light on filler.
Summary
Val Town's engineering team documents their migration journey from Supabase to Clerk for authentication, and then from Clerk to Better Auth. The article explains the technical and business reasons behind each move, including cost considerations, feature requirements, and the trade-offs involved in switching authentication providers. It provides an honest look at why even successful, well-funded auth solutions like Clerk (which raised $50M) may not fit every team's needs, and how Better Auth emerged as the right solution for Val Town's specific requirements.
Key quotes
· 3 pulledWe were using a lot of Supabase's functionality, including their authentication. So when it came time to move we found equivalents: Render for the database, and Clerk for authentication.
But life came at us fast, and by late 2023 we had an issue filed: get off of Clerk.
Clerk is a major success. They just raised 50 million dollars and they have lots of satisfied users.
You might also wanna read
Why small pull request policies can backfire on software quality
The article critiques a common software engineering policy that limits pull requests (PRs) to small sizes (e.g., 500 lines, few files). Whil
apenwarr.ca·2h agoHow Anthropic contains Claude's expanding access across its products
Anthropic describes how it has evolved its approach to granting Claude, its AI assistant, increasingly broad access to internal systems over
Testing Cursor's Jira integration: How ticket quality affects AI agent performance
Cursor launched a Jira integration that lets developers assign tickets directly to an AI agent, eliminating context switching. The author te
bit.ly·3h agoNetflix engineer's open-source tool cuts AI token usage by up to 90%
Netflix senior engineer Tejas Chopra created software called "Project Headroom" that prunes redundant tokens from AI agent instructions befo
Anthropic Releases Free Security Plugin for Claude Code Terminal to Detect Vulnerabilities
Anthropic has released a free security-guidance plugin for its Claude Code terminal tool that autonomously reviews code edits, model outputs
cybersecuritynews.com·4h agoResearcher's "ADHD" tool for Claude Code claims 2x improvement; experts call for more evidence
Solo researcher Udit Akhouri released a third-party Agent SDK tool called "ADHD" for Claude Code on Reddit, claiming it helps coding agents
bit.ly·4h ago