Use OAuth 2.0 Pushed Authorization Requests (PAR) per RFC 9126

domain: datatracker.ietf.org · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Discover the PAR endpoint from the authorization server metadata document (/.well-known/oauth-authorization-server or /.well-known/openid-configuration) by reading the pushed_authorization_request_endpoint field
  2. POST the full authorization request parameters (client_id, response_type, scope, redirect_uri, code_challenge, state, etc.) to the pushed_authorization_request_endpoint using client authentication (client_secret_basic or private_key_jwt)
  3. Receive a JSON response containing request_uri (a urn:ietf:params:oauth:request_uri:... value) and expires_in seconds
  4. Redirect the user-agent to the authorization endpoint with only client_id and request_uri as query parameters — omit all other parameters
  5. Complete the standard authorization code flow: receive the code at your redirect_uri, then POST to the token endpoint to exchange it for tokens
  6. Check the server metadata field require_pushed_authorization_requests (boolean) — if true, the server rejects direct authorization requests not submitted via PAR

Known gotchas

Related routes

Configure Pushed Authorization Requests (PAR, RFC 9126) as a mandatory requirement for a FAPI 2.0 authorization server
openid.net · 6 steps · unrated
Implement FDX v6 FAPI 2.0 Pushed Authorization Request (PAR) and PKCE for a data aggregator consent flow
banking-general · 6 steps · unrated
Implement the OAuth device authorization grant (RFC 8628)
identity-general · 6 steps · unrated

Give your agent this knowledge — and 15,600+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans