conformance/src
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Paul Carleton 67ad358019
feat: add resource parameter validation tests (RFC 8707) (#118)
* feat: add resource parameter validation tests (RFC 8707)

Adds conformance tests for OAuth Resource Indicators (RFC 8707) implementation:

1. Resource parameter checks added to token-endpoint-auth-basic scenario:
   - resource-parameter-in-authorization: Verify resource in auth request
   - resource-parameter-in-token: Verify resource in token request
   - resource-parameter-valid-uri: Verify valid canonical URI
   - resource-parameter-consistency: Verify consistency between requests

2. New auth/resource-mismatch scenario:
   - Tests that client rejects when PRM resource doesn't match server URL
   - Server returns mismatched resource in PRM
   - Test passes if client does NOT proceed with authorization

Also adds spec references for RFC 8707 and MCP resource parameter spec.

Closes #33

* fix: make resource consistency check a FAILURE and remove dead code

- Change resource parameter consistency from WARNING to FAILURE
- Remove unreachable protocol check in validateCanonicalUri
  (URL constructor already validates scheme presence)
2026-01-23 18:21:46 +00:00
..
checks feat: support protocol version 2025-11-25 (#81) 2026-01-05 11:54:56 +00:00
runner feat: make results directory output optional (#107) 2026-01-14 20:16:28 +00:00
scenarios feat: add resource parameter validation tests (RFC 8707) (#118) 2026-01-23 18:21:46 +00:00
schemas feat: add pre-registration conformance test (#120) 2026-01-23 11:43:56 +00:00
expected-failures.test.ts feat: add --expected-failures baseline and composite GitHub Action (#113) 2026-01-22 10:41:04 +00:00
expected-failures.ts feat: add --expected-failures baseline and composite GitHub Action (#113) 2026-01-22 10:41:04 +00:00
index.ts feat: add core and extensions suites for SDK tiering (#117) 2026-01-22 21:48:12 +00:00
schemas.ts Add interactive mode with verbose checking (#23) 2025-11-11 17:49:36 +00:00
types.ts Add client credentials conformance tests (JWT and Basic auth) (#55) 2025-11-25 20:07:05 +00:00