complete Web Authn Registration With Id
POST {{baseUrl}}/api/webauthn/register/complete
Complete a WebAuthn registration ceremony by validating the client request and saving the new credential
Request Body
{"credential"=>{"clientExtensionResults"=>{"credProps"=>{"rk"=>"<boolean>"}}, "id"=>"<string>", "rpId"=>"<string>", "response"=>{"attestationObject"=>"<string>", "clientDataJSON"=>"<string>"}, "transports"=>["<string>", "<string>"], "type"=>"<string>"}, "origin"=>"<string>", "rpId"=>"<string>", "userId"=>"<uuid>"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"credential":{"algorithm":"ES256","attestationType":"basic","authenticatorSupportsUserVerification":"\u003cboolean\u003e","credentialId":"\u003cstring\u003e","data":{"consectetur_a8":{},"esse_a":{},"temporf":{}},"discoverable":"\u003cboolean\u003e","displayName":"\u003cstring\u003e","id":"\u003cuuid\u003e","insertInstant":"\u003clong\u003e","lastUseInstant":"\u003clong\u003e","name":"\u003cstring\u003e","publicKey":"\u003cstring\u003e","relyingPartyId":"\u003cstring\u003e","signCount":"\u003cinteger\u003e","tenantId":"\u003cuuid\u003e","transports":["\u003cstring\u003e","\u003cstring\u003e"],"userAgent":"\u003cstring\u003e","userId":"\u003cuuid\u003e"}}