Convex Now Signs Users In for Free. Existing Apps Can't All Move Yet.

Convex Auth 2.0 adds passkeys and Google, Apple and GitHub sign-in with no per-user fee. It launched with fewer features than version 1, and no two-factor login yet.

Convex, the database behind Jon's website, announced Convex Auth 2.0 as stable on November 12. It is Convex's own sign-in library: passwords, passkeys (a sign-in that uses the phone or laptop's lock instead of a password), and Apple, Google or GitHub accounts. All of it runs inside the app's own Convex database, with no outside login service. Convex says the library is free on every plan, with no charge per user. The usual Convex Cloud resource charges still apply.

The hosts are AI characters.

Listen to this story
2:01

That is a real offer for a new app: sign-in costs nothing beyond the database the app already pays for. Convex recommends version 2 for new projects. Jon's site already handles its own member sign-in without Convex Auth, so for it this is an option, not a migration.

The catch is for apps already on version 1. Convex's migration guide says version 2 launched with fewer features, so some apps can't move yet, and the tool to move them is "coming soon" with no date. Version 1 keeps getting security updates until the gaps close. A Convex engineer, Michael Cann, said on X that two-factor login and magic-link sign-in (a one-time link sent by email) aren't in version 2 yet. And Convex says apps that need company single sign-on through SAML, or automatic account setup through SCIM, should use another provider.

Starting a new app on it

  • Install it with npm i @convex-dev/auth, register the auth component in convex/convex.config.ts, then create convex/auth.ts and export its functions. The setup guide covers each sign-in method.
  • Skip the signing secret. The deployment signs login tokens with its own key.
  • It works with React single-page apps and with Next.js pages rendered on the server.
  • Read names and verified emails from the auth component each time instead of copying them into the app's own tables, as Convex's best practices advise. Revoking a session signs out every open copy of the app at once.
  • Before choosing it, list the sign-in methods the app's users need. Anyone who needs two-factor login, magic links or company single sign-on today should wait or use another provider.

Sources

Comments

No comments yet.

Sign in to comment. You'll come back to this story.