You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Auth seeds may fail when the owner configures Better Auth validateUserInfo (untested) #1058
From #1052 S5 (PR #1057). Hermetic auth seeds (tests/seed.json auth.users) now go through Better Auth's internalAdapter.createUser and linkAccount, so they work on any adapter. If an owner configures Better Auth's validateUserInfo, seeding will likely fail, because that check expects a request context that seeding does not provide. Not tested and not documented (reported by the implementing agent; unverified).
Expected: either seeding supplies a synthetic context that validators can accept, or the seed step refuses with a clear message naming validateUserInfo. Document the behavior in packages/auth/README.md ("Your own database" and seeds), and add a test.
Activity
fix(auth): seeds run validateUserInfo and database hooks in a hermeti…