Verify hardware 2FA
POST/v1/auth/hw-2fa-start-verification
Verify hardware 2FA
This endpoint initiates the process for verifying a user's hardware-based two-factor authentication (2FA). It requires the user's email, password hash, and the unique identifier (twofa_id) of the hardware token. Upon successful validation of the user's credentials and ownership of the hardware token, it starts the authentication process with the WebAuthn protocol, returning a challenge that needs to be signed by the hardware token.
Request
- application/json
Body
required
email stringrequired
passwordHash stringrequired
twofaId uuidrequired
Responses
- 200
- 400
- 401
- 500
Start hardware 2FA authentication
- text/plain
- Schema
Schema
string
Invalid credentials
- text/plain
- Schema
Schema
string
Unauthorized
- text/plain
- Schema
Schema
string
Unexpected error
- text/plain
- Schema
Schema
string
Loading...