Files
accountkit/test
CatoandClaude a4cacf6030 fix(auth): a product's mirrored OIDC link no longer fails the first sign-in (#56)
A first OrangeCat sign-in in evig, loki, petvity and surf-your-life failed
with unable_to_create_user: their onAccountCreated writes the product's
row, its mirror trigger records the same link in auth_accounts, and the
row better-auth stores next collided with it. That record, for the same
person, now gives way. onAccountCreated also receives the provider's
tokens (decrypted) for a product that keeps them itself, as Loki must to
publish to OrangeCat.


Claude-Session: https://claude.ai/code/session_019MDtmud6zcK4rStBGmYSML

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-01 19:41:34 +01:00
..