Skip to content

Second step of a two factor login.​

POST
/erupt-api/login-mfa

Exchanges the mfaTicket from login plus a one-time code (or a recovery code) for a session. An ordinary wrong code keeps the ticket alive.

Request Body​

application/json
JSON
{
  
"mfaTicket": "string",
  
"code": "string",
  
"pwd": "string"
}

Responses​

OK

*/*
JSON
{
  
"pass": true,
  
"resetPwd": true,
  
"useVerifyCode": true,
  
"mfaRequired": true,
  
"mfaTicket": "string",
  
"reason": "string",
  
"token": "string",
  
"account": "string",
  
"expire": "yyyy-MM-dd HH:mm:ss"
}

Playground​

Server
Body

Samples​

Released under the Apache-2.0 License.