API ReferenceApplications
POST
/oauth2/v1/{project_id}/par

Path Parameters

project_id*string

Request Body

application/json

client_id?string
client_secret?string
response_type?"code" | ""
Value in"code" | ""
scope?string
redirect_uri?string
code_challenge?string
code_challenge_method?"S256" | ""
Value in"S256" | ""
state?string
nonce?string
dpop_jkt?string
request?string
request_uri?string
project_id?string
client_assertion?string
client_assertion_type?string
ssoAppId?string
ui_locales?string
login_hint?string

The authorize params below are stored at push and restored at authorize; limits match the authorize requests

prompt?string
flow?string
flow_token?string
tenant?string
style?string
bg?string
theme?string
dynamic_val?string
authorization_details?string
resource?string

A single value: the form middleware keeps only the first value of a repeated form key

Pushed Authorization Request endpoint for federated OIDC apps (RFC 9126), by projectId, for an imported client_id

curl -X POST "https://api.descope.com/oauth2/v1/string/par" \  -H "Content-Type: application/json" \  -d '{}'
{  "request_uri": "string",  "expires_in": 0}
export interface Response {request_uri?: stringexpires_in?: number}
Was this helpful?