(email: string)
| 321 | |
| 322 | // A passkey never owns a `user_auth_provider` row: the credential is bound to |
| 323 | // the Kilo user id in `passkey_credentials`, and the redeemed sign-in ticket |
| 324 | // already proved that id, so the provider account id *is* the user id. |
| 325 | // Resolve it directly and leave the account's hosted domain and display name |
| 326 | // untouched — the passkey path settles no user-account changes. |
| 327 | if (args.provider === 'passkey') { |
| 328 | return (await findUserById(args.provider_account_id)) ?? null; |
| 329 | } |
| 330 |
no outgoing calls
no test coverage detected