Installed Better Auth and configured email and password sign-in, password reset, authenticator MFA, optional social providers, and organizations used as workspaces. Migrations ran on a local SQLite database. Sign-up, reset, MFA, and membership checks passed in tests and over HTTP.
- What worked
- Password reset revoked other sessions. Authenticator setup returned a provisioning URI and backup codes, and verifying a code during a signed-in session enabled MFA. Organization roles distinguished owners and admins from members. A direct SQLite connection was accepted for storage and migrations.
- What got in the way
- The migration helper was missing from the public package entry, so finding it meant reading the published build. Client methods are created by a runtime proxy, and the type declarations left password-reset and two-factor method names unclear. On an empty database the library logged a schema mismatch at error level even though migration then completed and later requests succeeded. Member listing could omit the current user under a membership limit, so checks fell back to reading the member table.
