Pushed Authorization Requests (PAR)
Pushed Authorization Requests (RFC 9126) let a client send authorization parameters to Choreo Identity & Access Management over a direct, authenticated back-channel before redirecting the user's browser to /oauth2/authorize. Choreo Identity & Access Management stores the parameters and returns an opaque request_uri that the client uses in the redirect.
PAR removes sensitive parameters (scope, redirect_uri, state, claims, resource, code_challenge) from the browser URL and from any intermediate logs. It also lets Choreo Identity & Access Management reject tampered authorization requests at the source: once a request is pushed, the only thing that can travel through the front-channel is the opaque request_uri.
How It Works
How Choreo Identity & Access Management Implements It
| Aspect | Behavior |
|---|---|
| Endpoint | POST /oauth2/par |
| Client authentication | Required, same method as /oauth2/token (see Client Authentication Methods) |
| Request lifetime | The returned request_uri is single-use and expires after a short TTL |
request_uri format | urn:ietf:params:oauth:request_uri:<opaque> |
| Per-application enforcement | requirePushedAuthorizationRequests: true on the application requires PAR for every authorization request |
| Global enforcement | Not available on Choreo Identity & Access Management hosted tenants. Require PAR on each application instead |
| DPoP interaction | When DPoP is in use, a DPoP proof on the PAR request binds the resulting authorization code to the proof's public key |
| Failure mode | Direct GET /oauth2/authorize requests without a request_uri are rejected with invalid_request when PAR is required |
Try It in Choreo Identity & Access Management
Enable per Application
- Open Applications or Agents in the Choreo Identity & Access Management Console and select your client.
- Open the Advanced tab.
- Toggle Require pushed authorization requests on.
- Save.
Saving a change does not make it live. You author in the control plane, and your users sign in on a separate data plane, so a change takes effect in an environment only after you deploy it. Go to Deploy, deploy the latest version to your first environment, then promote it to the next environment when you are ready.
Auto-sync deploys saved changes to your first environment within seconds. Turning it on is your choice, per project. See Deploy a Version, or learn why you deploy and how auto-sync works.
Push and Redirect
# 1. Push the request
curl -X POST https://<DATA_PLANE_URL>/oauth2/par \
-u "$CLIENT_ID:$CLIENT_SECRET" \
-d "response_type=code" \
-d "client_id=$CLIENT_ID" \
-d "redirect_uri=https://app.example.com/callback" \
-d "scope=openid profile" \
-d "state=xyz" \
-d "code_challenge=$CODE_CHALLENGE" \
-d "code_challenge_method=S256"
Response:
{
"request_uri": "urn:ietf:params:oauth:request_uri:abc123...",
"expires_in": 60
}
# 2. Redirect the user
GET /oauth2/authorize
?client_id=$CLIENT_ID
&request_uri=urn:ietf:params:oauth:request_uri:abc123...
Related Guides
- Authorization Code, the flow PAR fronts
- PKCE,
code_challengeis pushed inside the PAR request - DPoP, pushing the PAR request with a DPoP proof binds the auth code
- Client Authentication Methods, required on the PAR endpoint
Was this page helpful?