Skip to content

Adapter verification

Adapter verification status and live setup

Section titled “Adapter verification status and live setup”

Recorded 2026-10-17. Mock/type checks and compatible services do not establish connectivity to the hosted provider.

Adapter Level Checked Unverified Settings and prerequisites
BetterAuthAdapter 実SDK + server + SQLite 登録・ログイン・不正password・現在user・logout。 / Registration/login/bad-password/current-user/logout. OAuth、メール配信/reset、JWT/organization plugins、招待・権限・ブラウザcookie運用。 / OAuth/mail/reset/JWT/org/invitations/permissions/browser cookies. Application-installed Better Auth server/client (test SDK 1.7.10); database, baseURL, secret, emailAndPassword.enabled; optional JWT/organization plugins and test mail transport. No added production peer.
MockAuthAdapter 意図したモック/intentional mock ログイン/失敗・UI状態。 / Login/error/UI-state contracts. 実認証の保証はしない。 / No real identity-provider guarantee. In-memory mock users.
StorageFileProvider / DataAccessFileProvider / search wrappers 実利用側合成+UI単体/composition and UI tests packed FileProviderは実SQLite+FS、storage wrapperやsearch/UIは単体。 / Packed FileProvider uses SQLite+FS; storage/search/UI wrappers have unit coverage. 各クラウド×UI全操作・全認可。 / All cloud/UI/authorization combinations. Host supplies adapters, permissions and the chosen storage/DB test configuration.

Reproduction

Terminal window
# public/ root; Docker + Node >=24 + Bun 1.4.0
bun install --frozen-lockfile --ignore-scripts
bun run test:adapters:local
bun run test:containers

test:adapters:local runs D1/Better Auth plus Supabase, Mongo, Convex and content composition. test:containers also runs the existing MinIO/PostgreSQL suites. Both are required when running TOOLS_TEST_CONTAINERS=1 bun run verify.

Logs live in the owning package or root .verification/logs/. Unique Compose projects and ephemeral loopback ports isolate each run; finally blocks remove fixtures, containers and data. External settings above describe application configuration, not environment variables that make the local runner contact cloud accounts. External tests require dedicated non-production resources and authorization; record evidence, tested versions and remaining gaps.

References: Miniflare D1, PostgREST, Convex self-hosting, Better Auth SQLite.