conformance/src/scenarios/client
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Den Delimarsky 1ef3cd34bd
SEP-2352: authorization-server migration scenario (#286)
* Add SEP-2352 authorization-server migration scenario

SEP-2352 requires that client credentials are bound to the issuing
authorization server: when PRM authorization_servers changes to a new
issuer, clients MUST re-register and MUST NOT reuse the previous AS's
client credentials.

- Traceability yaml: 3 checks, 3 excluded (internal state / UI)
- New auth/authorization-server-migration scenario (draft suite): two
  auth servers; PRM flips from AS1 to AS2 after the first authenticated
  request; AS2 asserts it received a fresh /register and never saw AS1's
  client_id at /authorize or /token
- ConformanceOAuthProvider gains invalidateCredentials and bindIssuer so
  the everything-client can key credentials by issuer (passing example)
- everything-client adds an issuer-aware handler for this scenario that
  re-reads PRM on each 401 and rebinds before re-authorizing
- auth-test-reuse-credentials negative client + vitest case

* Drop application_type from DCR metadata (not in SDK OAuthClientMetadata type)

---------

Co-authored-by: Paul Carleton <paulc@anthropic.com>
2026-05-19 22:59:31 +01:00
..
auth SEP-2352: authorization-server migration scenario (#286) 2026-05-19 22:59:31 +01:00
elicitation-defaults.ts refactor: range-based spec version tagging (introducedIn/removedIn) (#265) 2026-05-14 16:12:32 +01:00
http-base.ts Add conformance tests for SEP-2243 HTTP Standardization (#259) 2026-05-15 13:20:43 +01:00
http-custom-headers.ts fix(sep-2243): collapse check IDs to one-per-requirement (#287) 2026-05-19 21:48:31 +01:00
http-standard-headers.test.ts fix(sep-2243): collapse check IDs to one-per-requirement (#287) 2026-05-19 21:48:31 +01:00
http-standard-headers.ts fix(sep-2243): collapse check IDs to one-per-requirement (#287) 2026-05-19 21:48:31 +01:00
initialize.ts refactor: range-based spec version tagging (introducedIn/removedIn) (#265) 2026-05-14 16:12:32 +01:00
request-metadata.test.ts feat: add client conformance tests for SEP-2575 (#270) 2026-05-19 21:10:52 +01:00
request-metadata.ts feat: add client conformance tests for SEP-2575 (#270) 2026-05-19 21:10:52 +01:00
sse-retry.ts refactor: range-based spec version tagging (introducedIn/removedIn) (#265) 2026-05-14 16:12:32 +01:00
tools_call.ts refactor: range-based spec version tagging (introducedIn/removedIn) (#265) 2026-05-14 16:12:32 +01:00