mirror of
https://github.com/bitbaum/accountkit.git
synced 2026-12-04 05:37:35 +01:00
`ids: "uuid"` on createAuthInstance and createAuthRuntime makes every id the runtime mints a random UUID. A product whose own rows reference people by a uuid column (evig's `users`) can then give a person AccountKit creates itself (a first OIDC sign-in, its own sign-up) a product row under the same id in onAccountCreated. Without it those ids are better-auth's own strings and can never match. Stored ids are untouched and the default is unchanged. Claude-Session: https://claude.ai/code/session_019MDtmuvj9Cecd7DR2Nbirb Co-authored-by: Claude <noreply@anthropic.com>