Palbase Auth API · API
POST
/auth/webauthn/login/finishComplete WebAuthn authentication
Complete a WebAuthn authentication ceremony with the authenticator response and open a session.
Called by your app, with the publishable key.
Query
user_idstring · optionalRequired for non-discoverable login; omit for passkey (discoverable) login.Request body
authenticatorAttachmentstring · optionalclientExtensionResultsobject · optionalidstring · requiredrawIdstring · requiredresponseobject · requiredtype"public-key" · requiredcurl
curl -X POST "https://<your-ref>.palbase.studio/auth/webauthn/login/finish" \
-H "apikey: $PALBASE_PUBLISHABLE_KEY" \
-H "content-type: application/json" \
-d '{"id":"string","rawId":"string","response":{"authenticatorData":"string","clientDataJSON":"string","signature":"string","userHandle":"string"},"type":"public-key"}'Responses
200Session created
400Validation failed or required field missing
403Authenticated but not permitted (banned, hook denial, role mismatch)
429Rate limit exceeded
503Downstream dependency unavailable (typically HIBP / breach service)
defaultAn error: the envelope names it (`error`) and explains it (`error_description`).
Operation WebauthnLoginFinish of auth's contract.