palbaseDocs

Palbase Auth API · API

POST/oauth/par

RFC 9126 Pushed Authorization Request

RFC 9126 Pushed Authorization Request. Returns a request_uri to be used in the subsequent /oauth/authorize call. Required in FAPI 2.0 mode. The client authenticates itself (HTTP Basic or client_secret_post; a public client by client_id); no Palbase key.

Called by an OAuth client of the project; or anyone, with no key.

curl
curl -X POST "https://<your-ref>.palbase.studio/oauth/par" \
  -H "content-type: application/x-www-form-urlencoded" \
  --data-binary @file

Responses

201PAR accepted — request_uri + expires_in returned

400Validation failed or required field missing

401Missing, invalid, or expired credentials

defaultAn OAuth 2.0 error (RFC 6749 §5.2).

Operation OauthPAR of auth's contract.