Accounts: product tests (sign out everywhere, back-channel calls, deletion, export, Connect, admin), lib tests

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-18 13:36:18 +02:00
co-authored by Claude Opus 5.5
parent 069b66fd30
commit a888260f01
5 changed files with 312 additions and 2 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ export async function signOutEverywhere(ctx: Ctx, provider: Provider, accountId:
told++;
}
} catch (e) {
console.warn(`[sessions] back-channel logout to ${clientId} failed:`, (e as Error).message);
console.warn(`[sessions] back-channel logout to ${clientId} failed:`, (e as Error).message, (e as { cause?: Error }).cause?.message ?? '');
}
}
await ctx.db.oidcPayload.deleteMany({ where: { id: row.id } });