Jul 21, 2022
Sokratis Vidros
A blog post about the story of Clerk; our journey of bringing seamless authentication to the Modern Web, where we stand now, and what lies ahead.
Web authentication is an acronym and protocol ensemble (SSO
Authentication requires user input, usually collected via redirection to authentication pages such as the sign-up or sign-in page. UX-wise the redirection is a clean cut. Things get fascinating in the modern web world with React
Let's mull over how to build a sign-in form with SMS two-factor authentication
User management software so far offers the necessary authentication features but integrating them into your React application is cumbersome. This is why we've built Clerk
From early on, our goal was to focus on developer experience. To achieve that we had to start with a framework so we picked the most popular at the time, Next.js
While building our React components library
The hooks API design was also exciting. We debated a lot whether const {user} = useUser()
should return null
or an empty new User()
when not authenticated. We spent countless hours trying to figure out how should we store and update the session state. The first iteration resulted in a polling mechanism with a lot of auth data piggybacking.
The initial adoption was really warm. Clerk began to mature. We started designing new components, adding more authentication features, revamping our state management, and improving our developer experience.
In the meantime, modern web frameworks were evolving rapidly. SSR
In the first half of 2022, the product went from strength to strength. We added organizations
For the second half of the year, we have a lot of exciting epics in the pipeline. First and foremost, we aim to be the first authentication solution that works with React server components
On a personal level, I am looking forward to seeing how bleeding-edge web tech will evolve and shape how we build applications. If you are intrigued by any of these topics, talk to us on Discord
Start completely free for up to 10,000 monthly active users and up to 100 monthly active orgs. No credit card required.
Learn more about our transparent per-user costs to estimate how much your company could save by implementing Clerk.
The latest news and updates from Clerk, sent to your inbox.