Migrate to 0.11
Migrate to @convex-dev/better-auth@0.11
Upgrade
Install dependencies
Update Better Auth and the component.
Be sure to review breaking changes in Better Auth 1.5.
npm install @convex-dev/better-auth@^0.11.0
npm install better-authBreaking changes
Passkey plugin removed
The passkey plugin is no longer bundled with the component. If you're using
passkey, switch to Local Install and install
@better-auth/passkey directly. The passkey table has been removed from the
component schema.
oauthApplication field rename
The redirectURLs field on the oauthApplication table has been renamed to
redirectUrls. This only applies if you're using the OIDC provider plugin to
let other apps sign in through your app (a "Sign in with MyApp" setup). If you
have existing data in this table, use the
Convex migrations component to
rename the field before deploying.
Local Install additional steps
The following steps are only necessary for apps using Local Install.
Regenerate schema
Whenever updating Better Auth with Local Install, regenerate the schema.
cd convex/betterAuth
npx @better-auth/cli generate -y