MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / oauth-second-connection.test.ts

File oauth-second-connection.test.ts

e2e/scenarios/oauth-second-connection.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1// Cross-target: connecting a SECOND account to the same integration must ADD a
2// distinct connection, never silently overwrite the first. This is the exact
3// data-loss bug that shipped — a human label like "Work Gmail" reaches
4// `oauth.start` as the client-derived "workGmail", the mint stored the

Callers

nothing calls this directly

Calls 10

scenarioFunction · 0.90
serveOAuthTestServerFunction · 0.90
composePluginApiFunction · 0.85
makeClientFunction · 0.85
serveUpstreamFunction · 0.70
uniqueFunction · 0.70
specFunction · 0.70
connectFunction · 0.70
listMethod · 0.65
removeMethod · 0.65

Tested by

no test coverage detected