POST

https://{tenant_id}.hanko.io

/
webauthn
/
login
/
initialize
{
  "publicKey": {
    "challenge": "qgOI+0KpGnl9NOqaT6dfsYvi96R87LgpErnvePeOgSU=",
    "timeout": 60000,
    "rpId": "localhost",
    "allowCredentials": [
      {
        "type": "public-key",
        "id": "Mepptysj5ZZrTlg0qiLbsZ068OtQMeGVAikVy2n1hvvG..."
      }
    ],
    "userVerification": "required"
  }
}

Body

application/json
user_id
string

The ID of the user on whose behalf WebAuthn login should be performed

Response

200 - application/json
publicKey
object