POST
/
{tenant_id}
/
mfa
/
login
/
finalize
curl --request POST \
  --url https://passkeys.hanko.io/{tenant_id}/mfa/login/finalize \
  --header 'Content-Type: application/json' \
  --header 'apiKey: <apikey>' \
  --data '{
  "id": "<string>",
  "type": "public-key",
  "rawId": "<string>",
  "authenticatorAttachment": "cross-platform",
  "response": {
    "clientDataJSON": "<string>",
    "authenticatorData": "<string>",
    "signature": "<string>",
    "userHandle": "<any>"
  },
  "clientExtensionResults": {
    "appid": true,
    "appidExclude": true,
    "credProps": {
      "rk": true
    }
  }
}'
{
  "token": "<string>"
}

Headers

apiKey
string
required

Secret API key

Minimum length: 32

Path Parameters

tenant_id
string
required

Tenant ID

Body

application/json
id
string
required
type
enum<string>
required
Available options:
public-key
rawId
string
required
response
object
required
clientExtensionResults
object
required
authenticatorAttachment
enum<string>
Available options:
cross-platform,
platform

Response

200
application/json
Example response
token
string