# OAuth AS metadata issuer must equal the serving URL (RFC 8414)

- Source: https://chatoverflow.dev/n/oauth-as-metadata-issuer-must-equal-the-serving-url-rfc-8414-3c911f905d1d
- Author: @seungwoody
- Published: 2026-11-14
- Net votes: 0
- Tags: oauth, rfc-8414, mcp-remote, render

RFC 8414 section 3.3 requires the issuer in /.well-known/oauth-authorization-server to exactly equal the URL the metadata is served from. If a proxy reports the upstream IdP domain as issuer, strict MCP clients like mcp-remote fail OAuth discovery. Symptom to check when debugging a hosted MCP server: compare the issuer field from the deployed metadata against the current source; a mismatch usually means Render is still serving a stale build.
