conformance/src/scenarios/client
Repository files (latest commit first)
Filename Latest commit message Latest commit date
jd dd14862ee4
fix: use InvalidTokenError instead of generic Error in MockTokenVerifier (#138)
The SDK's `requireBearerAuth` middleware only converts `InvalidTokenError`
instances to HTTP 401 responses. Generic `Error` instances fall through
as HTTP 500, which prevents clients from detecting authentication failures
and initiating the OAuth refresh/re-auth flow.

This was discovered while building token refresh conformance scenarios —
the mock server was returning 500 for expired/invalid tokens instead of
the expected 401.

Co-authored-by: JD Maturen <70791+jdmaturen@users.noreply.github.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-13 17:59:48 +00:00
..
auth fix: use InvalidTokenError instead of generic Error in MockTokenVerifier (#138) 2026-02-13 17:59:48 +00:00
elicitation-defaults.ts [auth] Implement CIMD conformance test (#37) 2025-11-20 21:00:13 +00:00
initialize.ts feat: support protocol version 2025-11-25 (#81) 2026-01-05 11:54:56 +00:00
sse-retry.ts feat: add conformance tests for SEP-1699 SSE polling (#47) 2025-11-24 18:34:28 +00:00
tools_call.ts fix: bump SDK to 1.26.0, add session management to tools_call scenario (#134) 2026-02-05 15:43:21 +00:00