メインコンテンツへスキップ
POST
https://{yourDomain}
/
oauth
/
par
Pushed Authorization Request (PAR)
curl --request POST \
  --url https://{yourDomain}/oauth/par \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data client_id=YOUR_CLIENT_ID \
  --data client_secret=YOUR_CLIENT_SECRET \
  --data response_type=code \
  --data redirect_uri=https://your-app.com/callback \
  --data 'scope=openid profile email' \
  --data state=xyzABC123 \
  --data code_challenge=E9Melhoa2OwvFrEMTJguCHaoeK1t8URWbuGJSstw-cM \
  --data code_challenge_method=S256
{
  "request_uri": "urn:ietf:params:oauth:request_uri:bwc4JK-ESC0w8acc191e-Y1LTC2",
  "expires_in": 90
}

Documentation Index

Fetch the complete documentation index at: https://auth0-feat-ionic-capacitor-quickstart-modernization.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

承認

Authorization
string
header
必須

The access token received from the authorization server in the OAuth 2.0 flow.

ボディ

application/x-www-form-urlencoded
client_id
string
必須

Your application's Client ID

response_type
enum<string>
必須

Must be 'code' for PAR

利用可能なオプション:
code
client_secret
string

Your application's Client Secret (required for confidential clients)

redirect_uri
string<uri>

The redirect URI for your application

scope
string

Space-delimited list of requested scopes

state
string

An opaque value to maintain state between request and callback

audience
string

The unique identifier of the target API

code_challenge
string

The PKCE code challenge

code_challenge_method
enum<string>

The method used to generate the code challenge

利用可能なオプション:
S256
nonce
string

A random string value for ID Token validation

client_assertion
string

A JWT signed with your client secret or private key (for Private Key JWT authentication)

client_assertion_type
enum<string>

Must be 'urn:ietf:params:oauth:client-assertion-type:jwt-bearer' when using client_assertion

利用可能なオプション:
urn:ietf:params:oauth:client-assertion-type:jwt-bearer

レスポンス

Request URI created successfully

request_uri
string<uri>
必須

The request URI to use in the authorization request. Pass this to the /authorize endpoint.

expires_in
integer
必須

The lifetime in seconds of the request URI (typically 90 seconds)