{
 "url": "https://agenticweb.wiki/compare/oauth-metadata-for-agents-vs-auth-md/",
 "title": "OAuth Metadata for Agents vs auth.md: spec comparison",
 "description": "OAuth Metadata for Agents vs auth.md: how these complementary agentic web specs pair together, wire differences, and adoption.",
 "markdown_url": "https://agenticweb.wiki/compare/oauth-metadata-for-agents-vs-auth-md/index.md",
 "markdown": "# OAuth Protected Resource and Authorization Server Metadata (as used for agent authorization) vs auth.md\n\n**Domain:** Workload Identity, OAuth Profiles & Cryptographic Signatures · **Relationship:** Complementary layers · Discovery plus registration\n\nRFC 9728 and RFC 8414 stack beneath `auth.md`, serving JSON metadata at `/.well-known/oauth-protected-resource` and `/.well-known/oauth-authorization-server` while `auth.md` extends RFC 8414 metadata with `agent_auth` for agentic registration and user-claim flows. [1][2][9][11] Use OAuth metadata alone for standard endpoint discovery [1][2], and layer `auth.md` (`/auth.md` plus `POST /agent/identity`) when agents register with a service on a user's behalf. [9][10][11]\n\n## Quick facts comparison\n\n| Field | OAuth Protected Resource and Authorization Server Metadata (as used for agent authorization) | auth.md |\n| --- | --- | --- |\n| **Category** | [Permit](/category/permit/) | [Permit](/category/permit/) |\n| **Tier & lifecycle** | Flagship · Published Standard | Spec Brief · Active Draft |\n| **Track** | IETF Standards Track (RFC 9728 and RFC 8414) [1][2] | Vendor-led open specification (`workos/auth.md`, with community portal `auth-md.com`; no SDO submission) [8][17] |\n| **IETF tracker** | RFC 9728 (published April 2025, Standards Track) and RFC 8414 (June 2018, Standards Track) [1][2] | — |\n| **Originated by** | RFC 9728: M.B. Jones, P. Hunt, and A. Parecki (April 2025). RFC 8414: M. Jones, N. Sakimura, and J. Bradley (June 2018). [1][2] | WorkOS (`2026-05-21` by Garrett Galow; demoed at MCP Night 4; re-introduced by Michael Grinich at AIE World's Fair in July 2026) [13][14][15] |\n| **Governed by** | IETF. Both are Internet Standards Track documents, represent the consensus of the IETF community, and were approved for publication by the IESG. [1][2] | WorkOS (`workos/auth.md`); not submitted to IETF/W3C. Community hub (`auth-md.com`) and skill (`fabricioctelles/skills`) by Fabricio Telles [8][14][16] |\n| **Status** | Proposed Standard (RFC 9728, April 2025; RFC 8414, June 2018) [1][2][5][6] | Reference specification at `v0.6.0` (10 June 2026); generally available in WorkOS AuthKit (`Agent Registration`) since 4 August 2026 [12][18][19] |\n| **Latest version** | RFC 9728 (April 2025); RFC 8414 (June 2018) [1][2] | `v0.6.0` (`2026-06-10`, after `v0.1.0` on `2026-05-21` and `v0.2.0`–`v0.5.0` on `2026-06-03`–`05`); GA in WorkOS AuthKit (`2026-08-04`) [12][18][19] |\n| **Form** | JSON well-known metadata file | Document format |\n| **Wire / transport** | JSON object (`application/json`) [1][2] | Markdown (`text/markdown` / `text/plain`) at `/auth.md`, RFC 9728/8414 JSON (`agent_auth`), JSON `POST /agent/identity`, form-encoded `POST /oauth2/token` (`jwt-bearer` and `claim`), and RFC 8417/8935 SETs (`application/secevent+jwt`) [9][11][12] |\n| **Found at** | `GET /.well-known/oauth-protected-resource`; `GET /.well-known/oauth-authorization-server` (that path must use `https`) [1][2] | `HTTP 401` `WWW-Authenticate: Bearer resource_metadata=\"https://<api>/.well-known/oauth-protected-resource\"` (`RFC 9728`) → `/.well-known/oauth-authorization-server` (`RFC 8414` `agent_auth.skill`), plus `WWW-Authenticate: AgentAuth error=\"interaction_required\"` or `\"login_required\"` [9][11][12] |\n| **Primary specification** | [OAuth 2.0 Protected Resource Metadata](https://www.rfc-editor.org/rfc/rfc9728.html); [OAuth 2.0 Authorization Server Metadata](https://www.rfc-editor.org/rfc/rfc8414.html) [1][2] | [`AUTH.md`](https://raw.githubusercontent.com/workos/auth.md/main/AUTH.md) · [`README.md`](https://raw.githubusercontent.com/workos/auth.md/main/README.md) · [`CHANGELOG.md`](https://raw.githubusercontent.com/workos/auth.md/main/CHANGELOG.md) · [Official Docs](https://workos.com/auth-md/docs) · [Community Spec](https://auth-md.com/specification/) [9][11][12] |\n| **Last checked** | 2026-11-12 | 2026-11-12 |\n\n## Problem, mechanism & scope\n\n- **OAuth Protected Resource and Authorization Server Metadata (as used for agent authorization) problem, mechanism & scope boundary:** RFC 9728 is intended to be deployed where the client has no prior knowledge about the resource server, and where the resource server might or might not have prior knowledge about the client. How the client obtains the protected resource's location is out of scope for RFC 9728. How the client chooses an authorization server is out of scope for RFC 8414. [1][2] Together, RFC 9728 and RFC 8414 establish a two-hop, cryptographically bound discovery chain: the protected resource's metadata document binds its canonical `resource` identifier to one or more trusted `authorization_servers` issuer URLs, and each authorization server's metadata document verifies its `issuer` identifier while publishing `authorization_endpoint` and `token_endpoint`. [1][2] How the client identifier is established at the authorization server is out of scope for RFC 9728. RFC 9728 is intentionally as parallel as possible to OAuth 2.0 Dynamic Client Registration and to OAuth 2.0 Authorization Server Metadata. A URL used as `client_id`, which the authorization server fetches, is specified separately. [1][7]\n- **auth.md problem, mechanism & scope boundary:** When an agent registers with an external service on a user's behalf, the agent may lack a user identity or an `ID-JAG`-capable provider, while services that blindly trust provider email claims or old upstream sessions face account-takeover risks. [9] Without a user-confirmation gate on first-time account linking, any trusted provider could mint an `ID-JAG` with `email_verified: true` for a victim's email and silently take over their account, and without an `auth_time` freshness check an agent could use a stale upstream session. [12] auth.md pairs two-hop OAuth discovery (`/.well-known/oauth-protected-resource` and `/.well-known/oauth-authorization-server` with `agent_auth`) with three registration modes at `POST /agent/identity` (`identity_assertion` with `urn:ietf:params:oauth:token-type:id-jag`, `service_auth` with `login_hint`, and `anonymous`) and an RFC 8628-shaped claim ceremony (`user_code`, `verification_uri`, `expires_in`, `interval`) polled via `urn:workos:agent-auth:grant-type:claim`. [11] The structured Protected Resource Metadata at `/.well-known/oauth-protected-resource` remains the authoritative source for endpoint URLs and supported flows while `auth.md` serves as the prose companion, and the two-step `identity_assertion` exchange replaces OAuth `refresh_token` issuance. [10][11]\n\n## Overview\n\n### OAuth Protected Resource and Authorization Server Metadata (as used for agent authorization)\n\n*This article covers the agent-authorization profile of IETF RFC 9728 (OAuth 2.0 Protected Resource Metadata) and RFC 8414 (OAuth 2.0 Authorization Server Metadata), as mandated by the [Model Context Protocol](/protocols/mcp/) authorization specification (`2026-07-28`). For URL-based OAuth client identifiers used when an agent and server have no prior relationship, see [OAuth Client ID Metadata Documents (CIMD)](/protocols/oauth-cimd/). [1][2][3][4]*\n\n**OAuth Protected Resource and Authorization Server Metadata (as used for agent authorization)** pairs two IETF Standards Track specifications—RFC 9728 (*OAuth 2.0 Protected Resource Metadata*, April 2025) and RFC 8414 (*OAuth 2.0 Authorization Server Metadata*, June 2018)—so AI agents and OAuth clients can dynamically discover a protected resource's authorization servers and endpoint capabilities without pre-configured endpoints. [1][2] When an unauthenticated request hits a protected resource, the server returns an HTTP `401` `WWW-Authenticate` header carrying `resource_metadata`, or the client probes `GET /.well-known/oauth-protected-resource`. [1] The client reads `authorization_servers` from that JSON response and fetches `GET /.well-known/oauth-authorization-server` over HTTPS (`application/json`) to obtain the issuer's endpoints and supported capabilities. [1][2] RFC 8414 generalized OpenID Connect Discovery 1.0 for wider OAuth 2.0 deployments, and RFC 9728 added resource-side discovery alongside the optional `protected_resources` authorization-server array. [1][2] The Model Context Protocol (`2026-07-28`) authorization specification mandates RFC 9728 on MCP servers and requires MCP clients to support both RFC 8414 and OpenID Connect Discovery 1.0. [3]\n\n### auth.md\n\n*Not to be confused with `ACT-AUTH.md`, the component-and-host authentication specification in `actcore/act-spec`, or with OAuth Client ID Metadata Documents ([OAuth CIMD](/protocols/oauth-cimd/)). For the IETF cross-domain identity-assertion grant used by `auth.md`'s agent-verified flow, see [Identity Assertion Authorization Grant (ID-JAG)](/protocols/identity-assertion-authz-grant/). For the underlying OAuth discovery metadata pair, see [OAuth 2.0 Metadata for Agents (RFC 9728 / RFC 8414)](/protocols/oauth-metadata-for-agents/). [8]*\n\n**auth.md** is a single-vendor reference implementation and procedural Markdown convention originated by WorkOS (`workos/auth.md`, MIT License) for agentic registration, a protocol for agents to authenticate to services on behalf of users. [8][9] The architecture defines three roles: an agent acting for a user, an agent provider that mints identity assertions (`ID-JAGs`), and a service that accepts those assertions when available and issues credentials, or uses an RFC 8628-style claim ceremony when the agent is not associated with a user identity or the provider does not support `ID-JAGs`. [9] A service publishes a Markdown walkthrough at `/auth.md` (referenced via the `skill` field in `agent_auth`) alongside Protected Resource Metadata at `/.well-known/oauth-protected-resource` and Authorization Server Metadata at `/.well-known/oauth-authorization-server` carrying the `agent_auth` profile extension. [9][10] Registration and credential issuance are split across two endpoints: `POST /agent/identity` accepts the agent's registration request (`identity_assertion`, `service_auth`, or `anonymous`) and returns a service-signed `identity_assertion` (or initiates a claim ceremony), which the agent exchanges at `POST /oauth2/token` (`urn:ietf:params:oauth:grant-type:jwt-bearer`) for a Bearer `access_token`. [9][11] WorkOS released the initial `v0.1.0` proposal on `2026-05-21`, followed by `v0.2.0` and `v0.3.0` on `2026-06-03` (separating `/agent/identity` from `/oauth2/token` and switching revocation to RFC 8417 Security Event Tokens over RFC 8935), `v0.4.0` on `2026-06-04` (polling `/oauth2/token` with `urn:workos:agent-auth:grant-type:claim`), `v0.5.0` on `2026-06-05` (adding `interaction_required` and `login_required` gates), and `v0.6.0` on `2026-06-10` (splitting email hints into top-level `service_auth` with `login_hint`). [12]\n\n## Adoption and ecosystem\n\n### OAuth Protected Resource and Authorization Server Metadata (as used for agent authorization)\n\nSee verified implementations and cited ecosystem censuses on the [OAuth Protected Resource and Authorization Server Metadata (as used for agent authorization) protocol page](/protocols/oauth-metadata-for-agents/#adoption-and-ecosystem).\n\n### auth.md\n\nSee verified implementations and cited ecosystem censuses on the [auth.md protocol page](/protocols/auth-md/#adoption-and-ecosystem).\n\n## References\n\n1. M.B. Jones (Self-Issued Consulting), P. Hunt (Independent Identity, Inc.), and A. Parecki (Okta), *RFC 9728: OAuth 2.0 Protected Resource Metadata*, published April 2025; Internet Standards Track — https://www.rfc-editor.org/rfc/rfc9728.html\n2. M. Jones (Microsoft), N. Sakimura (NRI), and J. Bradley (Yubico), *RFC 8414: OAuth 2.0 Authorization Server Metadata*, June 2018; Internet Standards Track — https://www.rfc-editor.org/rfc/rfc8414.html\n3. Model Context Protocol, *Authorization*, specification version 2026-07-28 — https://modelcontextprotocol.io/specification/2026-07-28/basic/authorization\n4. Model Context Protocol, *Client Registration*, specification version 2026-07-28 — https://modelcontextprotocol.io/specification/2026-07-28/basic/authorization/client-registration\n5. IETF Datatracker, *RFC 9728: OAuth 2.0 Protected Resource Metadata*, RFC - Proposed Standard (April 2025) — https://datatracker.ietf.org/doc/html/rfc9728\n6. IETF Datatracker, *RFC 8414: OAuth 2.0 Authorization Server Metadata*, RFC - Proposed Standard (June 2018) — https://datatracker.ietf.org/doc/html/rfc8414\n7. A. Parecki (Okta) and E. Smith (independent), *OAuth Client ID Metadata Document (draft-ietf-oauth-client-id-metadata-document-03)*, draft-ietf-oauth-client-id-metadata-document-03, 2 November 2026; expires 6 May 2027 — https://www.ietf.org/archive/id/draft-ietf-oauth-client-id-metadata-document-03.txt\n8. WorkOS, *auth.md*, repository created 2026-05-20; pushed 2026-09-24 — https://github.com/workos/auth.md\n9. WorkOS, *auth.md*, README on main — https://raw.githubusercontent.com/workos/auth.md/main/README.md\n10. WorkOS, *The auth.md file — auth.md*, checked 2026-10-29 — https://workos.com/auth-md/docs/auth-md\n11. WorkOS, *AUTH.md*, checked 2026-10-29 — https://raw.githubusercontent.com/workos/auth.md/main/AUTH.md\n12. WorkOS, *CHANGELOG.md*, checked 2026-10-29 — https://raw.githubusercontent.com/workos/auth.md/main/CHANGELOG.md\n13. Garrett Galow (WorkOS), *Agent Registration with Auth.md — WorkOS*, checked 2026-10-29 — https://workos.com/blog/agent-registration-with-auth-md\n14. Zack Proser (WorkOS), *MCP Night 4 recap: agent auth, auth.md, and the rise of agentic registration — WorkOS*, checked 2026-10-29 — https://workos.com/blog/mcp-night-4-recap-auth-md-agentic-registration\n15. Zack Proser (WorkOS), *Lifestyles of the AI-Native: WorkOS at the AI Engineer World's Fair 2026 — WorkOS*, checked 2026-10-29 — https://workos.com/blog/workos-aie-worlds-fair-2026-recap\n16. WorkOS, *auth.md — Open Protocol for Agent Registration*, checked 2026-10-29 — https://workos.com/auth-md\n17. Fabricio Telles, *AI Agent Registration Protocol for Web — auth-md*, checked 2026-10-29 — https://auth-md.com/\n18. WorkOS, *package.json*, checked 2026-10-29 — https://raw.githubusercontent.com/workos/auth.md/main/package.json\n19. WorkOS, *Agent Registration – AuthKit – WorkOS Docs*, checked 2026-10-29 — https://workos.com/docs/authkit/agent-registration\n"
}