mirror of
https://github.com/bitbaum/datacat.git
synced 2026-12-04 05:30:26 +01:00
server/auth/orangecat.ts (the v4 provider) is gone: the provider is accountkit's orangecatProviderV4 — client_secret_post, PKCE, identity scopes, and a profile without email, so the address arrives as contactEmail and is never an identity. The sub-keyed find-or-create, including the insert race datacat found, is accountkit's resolveOrangecatUser (it took datacat's as a source). What stays is datacat's Prisma store: where the shared rule would store a .invalid placeholder, datacat stores null, as before. The in-memory Prisma tests (P2002 race, no email takeover) still run against it. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>