MCP

Validate an MCP OAuth consent request

Requires a signed-in human Bearer session and MCP_OAUTH_ENABLED. Validates the current registered client, exact approved callback, MCP resource and canonical PKCE S256 challenge before returning display metadata. Does not grant access or issue an authorization code. Approval independently checks the request and current company authority again. The stored client_name is a self-asserted connector label, not verified publisher identity.

post/oauth/consent/preview

Request

  • Base URL
    https://api.medianfi.com/api/v1
  • Auth
    HTTP bearer

Request body

object required
client_id, string required
redirect_uri, string uri required
code_challenge, string required
code_challenge_method, 'S256' required
resource, string uri required
scope, string
state, string

Response

Validated consent display data, with no grant or code created

object required
success, true required
data, object required

Changes

No recorded changes to this operation across all 110 revisions of this API.