palbaseDocs

Palbase Auth API · API

POST/oauth/device

RFC 8628 Device Authorization Request

RFC 8628 Device Authorization Request. Returns device_code, user_code, verification_uri, and a polling interval. Disabled in FAPI 2.0 mode. A public client identifies itself 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/device" \
  -H "content-type: application/x-www-form-urlencoded" \
  --data-binary @file

Responses

200Device authorization issued

400Validation failed or required field missing

401Missing, invalid, or expired credentials

403Authenticated but not permitted (banned, hook denial, role mismatch)

defaultAn OAuth 2.0 error (RFC 6749 §5.2).

Operation OauthDeviceAuthorize of auth's contract.