AgenticWebScore
Scan

API and agent · Essential

OAuth discovery documents

OAuth metadata tells a client where and how to authorise against the API.

  • Scored check
  • Web standards
  • Essential
  • Adopted standard

Standard status Adopted. A ratified standard with real deployment. Standards: RFC 8414 and RFC 9728.

Kind
Scored check
Part of the score
Web standards: 70% of the score. A check in it can hold a level.
Module
Sites with an API or agent surface
Who reads it today
OAuth clients; MCP clients use RFC 9728.
Effect on Google Search
None. No Google Search documentation says Google reads it.
OAuth discovery documents — Property, Value
Property Value
Check idoauth-discovery
DimensionAPI and agent
PartWeb standards
TierEssential. Counts 3 times its weight.
Weight2
MaturityAdopted. A ratified standard with real deployment.
Publishing skilloauth-discovery
StandardsRFC 8414, RFC 9728

Sources

What the scanner requests

  • /.well-known/oauth-authorization-server
  • /.well-known/openid-configuration
  • /.well-known/oauth-protected-resource

What is measured

The scanner GETs /.well-known/oauth-authorization-server, /.well-known/openid-configuration, and /.well-known/oauth-protected-resource with no credentials. It passes when one of them returns JSON matching the format for that path: RFC 8414 or OpenID Connect metadata carrying issuer, authorization_endpoint, token_endpoint, and response_types_supported, or RFC 9728 protected resource metadata carrying resource and authorization_servers. For protected resource metadata, the scan also requests the RFC 8414 metadata of the same-origin authorization servers it names, up to a published cap. It partially passes when a document is served at a valid path but omits a member required for that format, or when every same-origin authorization server whose metadata the scan requested publishes none with issuer and token_endpoint. An authorization server on another origin, or one whose metadata was not requested or answered 406, which refuses the scan's Accept header, does not change the outcome, and the detail names it as not requested. It fails when all 3 paths answered and none serves a JSON document. It is not measured when a path the scan did not request, that did not answer, or that answered 406, which refuses the scan's Accept header, could still hold the document. It is asked only of a site where the scan saw OAuth in use: discovery metadata, a Bearer challenge, or an OAuth security scheme in its OpenAPI document.

Reproduce it yourself

You do not have to take our word for any of this. Run the same measurement against your own domain:

              ORIGIN=https://example.com
for p in /.well-known/oauth-authorization-server /.well-known/openid-configuration /.well-known/oauth-protected-resource; do printf '%s -> ' "$p"; curl -sSL -A 'AgenticWebScore/0.3 (+https://agenticwebscore.com/bot)' -H 'Accept-Language: en' -H 'Accept: application/json, application/linkset+json;q=0.9, */*;q=0.5' "$ORIGIN$p" | jq -c '{issuer,token_endpoint,resource,authorization_servers}' 2>/dev/null || echo "missing or not JSON"; done
            

Run it on your own site with the OpenAPI checker. Its report opens on this check.

The fix

This is an example written for example.com. Where the scan can build the fix from your own site, the report shows that version instead.

              {
  "resource": "https://api.example.com",
  "authorization_servers": [
    "https://auth.example.com"
  ],
  "scopes_supported": [
    "read",
    "write"
  ],
  "bearer_methods_supported": [
    "header"
  ]
}
            

Standards referenced

  • RFC 8414
  • RFC 9728

Related checks

Related checks — Check, Kind, Maturity, Same skill
Check Kind Maturity Same skill
mcp-card — MCP server cardUnscored checkDraft—
mcp-server — MCP server answers and lists its toolsScored checkAdopted—
openapi — OpenAPI definitionScored checkAdopted—
api-catalog — API catalogScored checkAdopted—
agent-skills — Agent Skills declarationUnscored checkDraft—
a2a-card — A2A agent cardUnscored checkDraft—
a2a-signed — Cryptographically signed agent cardUnscored checkDraft—
auth-md — /auth.md agent authentication guideUnscored checkDraft—