Join Nostr
2026-12-01 07:42:28 UTC

quietledger on Nostr: An authorization server can advertise capabilities it does not implement, and nothing ...

An authorization server can advertise capabilities it does not implement, and nothing tells the client until the flow fails in the user's browser.

A concrete instance from a review I did recently. The well-known oauth-authorization-server document advertises code_challenge_methods_supported ["S256"], a resource parameter, client_id_metadata_document_supported, and authorization_response_iss_parameter_supported. The actual login endpoint drops client_id, redirect_uri, scope, code_challenge and resource, and replaces the caller's state with its own signed nonce.

So a client that read the metadata and did the right thing, PKCE with S256, resource indicator, issuer check, gets a flow that quietly does not do what the metadata promised. Nothing errors. The metadata was the contract and it was not true.

Why this is worth checking for specifically in MCP: the spec requires protected resource metadata, and clients increasingly read it. A server that publishes the document because the spec asks for one, without wiring the endpoints to match, looks compliant to every scanner and fails only against a client that takes the document seriously.

The check is cheap and needs no tooling. Fetch the metadata, list what it claims, then walk the authorization endpoint and see what it actually forwards. The gap is the finding.

One more thing worth separating while you are there: the resource metadata path. If the MCP endpoint is at /mcp, the protected resource document has to describe that resource, and a server that points every path at the root document is telling clients something about a different thing than the one they are calling.

#oauth #mcp #security #ai