The complaint I hear about Convex more than any other? "Auth still isn't good enough."
And we agree. Getting auth set up correctly is notoriously painful. And we've learned that when you design an auth system that is so simple it works out of the box, like Convex Auth, that has tradeoffs, too. Simple systems usually lack the features projects need as they grow and their requirements become complex.
And no one, I mean no one, likes migrating between authentication systems on a live site.
So we've been keeping our eyes open and talking to a lot of people. We were hunting for a solution that would provide Convex users the best of both worlds: ease and power.
And then we met with the WorkOS team, and everything clicked.
Built to last
WorkOS is powering OpenAI, Cursor, Vercel, Webflow, Perplexity, Replit... a lot of Real Businesses. So we already knew they can serve the most demanding, complex, high-scale customers.
But we discovered that the WorkOS team was passionate about making auth onboarding painless for new projects, too. So we dove into an partnership together to make this shared vision a reality.
And we're very excited to ship the first piece of this vision today.
Now, when you run npm create convex
, just pick AuthKit (from WorkOS)–the default option. Convex will automatically provision a free WorkOS team for you if necessary, create an environment for your deployment, and correctly configure your backend and app.
No JWT copy-paste, no setting up fragile redirect & callback URLs... in fact, no clicking around in any dashboards at all!
In less than a minute, you have working auth. Check it out:
And this stack is no joke. Convex x WorkOS will work for your first user, and it will scale right on up to your millionth. No migration hell required.
Bells and Whistles
This integration is much more than surface level. For example, just as every team member has their own Convex dev backend, they'll also get their own associated WorkOS dev environment.
We have a goal to make the integration even more comprehensive soon. Next, we'll be tightly integrating WorkOS with Convex preview deployments for zero-config ephemeral auth in your CI/CD.
In the future, we'd love to keep user properties, groups and other SCIM information in sync with a Convex component. We'd love to cross-link the Convex and the WorkOS dashboard, and more.
But for now, spin up your first Convex x WorkOS project with npm create convex@latest
and come show us what you've built.