Palbase Auth API · API
GET
/auth/device/requests/{user_code}Read a pending device request
A pending device authorization request, for the signed-in user about to approve its code: which client asked, from what address and user agent, when, and whether it asks for a recent sign-in.
Called by a signed-in user of your app, with their token and the publishable key.
Path
user_codestring · requiredcurl
curl -X GET "https://<your-ref>.palbase.studio/auth/device/requests/<user_code>" \
-H "apikey: $PALBASE_PUBLISHABLE_KEY" \
-H "authorization: Bearer $USER_ACCESS_TOKEN"Responses
200The pending request
401Missing, invalid, or expired credentials
404Resource does not exist or is not visible to the caller
429Rate limit exceeded
defaultAn error: the envelope names it (`error`) and explains it (`error_description`).
Operation DevicePendingRequest of auth's contract.