Skip to content
IAM Insights

Research · Finding · published · Boston Identity

BI-FIND-2025-0388

RFC 9728 lets a client that knows nothing about an API learn where to get a token for it, from a metadata document the resource server can point to.

RFC 9728 lets a client that knows nothing about an API find out where to get a token for it. The resource server may answer an unauthenticated call with a WWW-Authenticate header whose resource_metadata parameter points to a JSON metadata document; the client reads the authorization server from it and then fetches that server's own RFC 8414 metadata. A later challenge tells the client the metadata may have changed, which the authors say lets a resource server change authorization servers "without any other coordination with clients." Only the resource field is required, authorization_servers is optional, and how the client gets a client identifier is out of scope. The RFC never mentions AI agents. Our briefing on the Model Context Protocol's 2026-07-28 authorization specification found that it requires MCP servers to publish this document.

high confidencebest source: independent researchobserved Apr 2025 – Jul 2026

SourceOAuth 2.0 Protected Resource Metadata (RFC 9728) · RFC Editor · · read

About OAuth 2.0 Protected Resource Metadata, OAuth 2.0 Authorization Server Metadata and Standards.

From the briefing

RFC 9728 tells clients where an API's tokens come from and leaves most of the trust decision to them

RFC 9728, a Standards Track RFC from Michael B. Jones, Phil Hunt and Aaron Parecki, gives an OAuth-protected API a metadata document that a client can find from a 401 response. The document can name the API's authorization servers, and the client must check that it belongs to the URL it called. Beyond an optional cross-check between the resource's list of servers and a server's list of resources, the authors leave the choice of which server to trust to the client.

Article · RFC Editor · Michael B. Jones, Phil Hunt, Aaron Parecki · Apr 2025 · source

Read it in context

Evidence

The passages this finding cites, on the briefing page.

  1. [3]Authorization server link and WWW-Authenticate discovery (§4–5)
  2. [1]Metadata format and signed metadata (§1–2)

How to cite

Boston Identity. "RFC 9728 tells clients where an API's tokens come from and leaves most of the trust decision to them," BI-FIND-2025-0388. IAM Insights, October 20, 2026. https://insights.bostonidentity.com/ref/BI-FIND-2025-0388

© 2026 Boston Identity LLC. All rights reserved. Quote up to 100 words with the credit Boston Identity, IAM Insights and a link. How to cite · Terms

Was this claim useful?