Skip to content

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

Closed as not planned

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.

Activity

  1. added
    needs-triage
    on Jul 8, 2026
  2. JAORMX commented on Jul 8, 2026

    @JAORMX
    CollaboratorAuthor

    Deferred: this work is downstream of the 2026-07-28 stateless design issues (#5755/#5756) and the spec/go-sdk going final. Listed in epic #5743 under expected follow-ups; will be re-filed when the design makes it actionable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions