Skip to content

Auth readiness for 2026-07-28: CIMD-first registration and RFC 9207 #5760

Description

@JAORMX

Part of #5743 (Workstream C: 2026-07-28 stateless readiness / auth).

Work

Two auth changes in the 2026-07-28 revision, both cheap for us because the hard parts already exist:

  1. CIMD-first client registration: DCR (RFC 7591) is deprecated in favor of Client ID Metadata Documents. ToolHive already implements CIMD (pkg/oauthproto/cimd.go, fetch guard, discovery advertisement) — this issue is about ordering/preference: prefer CIMD in the client registration priority chain, de-emphasize DCR in docs/flows, keep DCR for compat.
  2. RFC 9207 issuer validation: clients MUST validate the iss authorization-response parameter when present (SEP-2468). Verify our OAuth client flow (pkg/auth/oauth/flow.go) checks it; add if missing.

Also: credentials must be treated as bound to the issuing AS (re-register on AS change, SEP-2352) — verify token/client storage keys on issuer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-triageIssue needs initial triage by a maintainer

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions