palbaseDocs

Palbase Auth API · API

POST/auth/oauth/callback/apple

Apple sign-in callback

Provider ingress for a browser sign-in started with POST /auth/oauth/transactions. Needs no Palbase key or session: the state the transaction was started with is the only authority, and each state is usable once. Apple posts the result as application/x-www-form-urlencoded (response_mode=form_post); fields in the query string, any other content type, a duplicated field or an id_token field are refused. The optional user field (first sign-in only) supplies the user's name. Answers 303 to the app's return URI.

Called by .

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

Responses

303Back to the app. Sent also when the provider reported an error or the code exchange failed: the outcome is revealed when the app completes the transaction.

400Validation failed or required field missing

404Resource does not exist or is not visible to the caller

409Conflict with current resource state (duplicate, race)

410The sign-in transaction expired (`auth_transaction_expired`); start again.

413The form body is larger than 64 KiB.

415The body is not `application/x-www-form-urlencoded`.

429Rate limit exceeded

503Downstream dependency unavailable (typically HIBP / breach service)

defaultAn error: the envelope names it (`error`) and explains it (`error_description`).

Operation SocialCallbackApplePost of auth's contract.