Skip to main content

This endpoint completes the hardware-based two-factor authentication process. It requires a request payload including a public key

POST 

/v1/auth/hw-2fa-finish-verification

This endpoint completes the hardware-based two-factor authentication process. It requires a request payload including a public key credential, email, password hash, and device identifier. Upon successful validation of the credentials and completion of the hardware authentication, it returns a user session object containing details such as ID, email, nickname, status, and tokens.

Request​

Body

required
    credential stringrequired
    device stringrequired
    email stringrequired
    passwordHash stringrequired
    sessionId stringrequired

Responses​

Finish hardware 2FA authentication

Schema
    accessToken stringrequired
    createdAt date-timerequired
    device stringrequired
    deviceCreatedAt date-timerequired
    email stringrequired
    hpkePubKey binarynullable
    id uuidrequired
    lastLogin date-timenullable
    lastTransaction date-timenullable
    nickname stringrequired
    refreshToken stringrequired
    status stringrequired
Loading...