Palbase Auth API · API
POST
/auth/oauth/transactions/{id}/completeComplete a social sign-in
Finishes a sign-in with the provider's answer: signs the user in (or asks for a second factor), or links the identity. Retrying with the same body answers the same result. A first sign-in that would open an account answers 403 signups_closed while the project takes no new users.
Called by your app, with the publishable key.
Path
idstring · requiredcurl
curl -X POST "https://<your-ref>.palbase.studio/auth/oauth/transactions/<id>/complete" \
-H "apikey: $PALBASE_PUBLISHABLE_KEY" \
-H "content-type: application/json" \
-d '{"completion_verifier":"string","id_token":"string"}'Responses
200Operation completed
400Bad Request
401Unauthorized
403Forbidden
404Not Found
409Conflict
410Gone
413Request Entity Too Large
422Unprocessable Entity
429Too Many Requests
503Service Unavailable
defaultAn error: the envelope names it (`error`) and explains it (`error_description`).
Operation SocialComplete of auth's contract.