OAuth

Validate a consent request before showing its client and permissions

Public first-party consent helper. Checks client registration, callback, scopes, resource and S256 PKCE. Creates no grant.

post/oauth/authorize/preview

Request

  • Base URL: https://api.purplegrain.com
  • URL: https://api.purplegrain.com/oauth/authorize/preview
  • Auth: none required

Request body

client_idstring required
response_type'code' required
redirect_uristring uri required
scopestring
statestring
code_challengestring required

PKCE code challenge (S256).

code_challenge_method'S256' required
noncestring
resourcestring uri

The exact MCP resource URI advertised by discovery. Omission uses that resource for existing clients.

Response

Validated client identity and requested permissions.

client_namestring required
scopesstring[] required
resourcestring uri required

Changes

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