MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / oauth-scope-insufficient.test.ts

File oauth-scope-insufficient.test.ts

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

Source from the content-addressed store, hash-verified

1// Cross-target: a scope-insufficient upstream 403 is a distinct, actionable
2// failure — not a re-authenticate loop. When a connection's OAuth grant does
3// not cover the scope an operation requires, the upstream rejects the call
4// with a scope signal (Google's ACCESS_TOKEN_SCOPE_INSUFFICIENT, RFC 6750's

Callers

nothing calls this directly

Calls 15

scenarioFunction · 0.90
serveOAuthTestServerFunction · 0.90
composePluginApiFunction · 0.85
makeClientFunction · 0.85
serveScopedUpstreamFunction · 0.85
toStringMethod · 0.80
completeMethod · 0.80
uniqueFunction · 0.70
specFunction · 0.70
invokeFunction · 0.70
addressOfFunction · 0.70
startMethod · 0.65

Tested by

no test coverage detected