Auth

Start two-step setup; the authenticator secret and its otpauth link, shown once (p19,

Changed on

A new 20-byte TOTP secret (RFC 6238, SHA-1, 6 digits, 30 s), stored encrypted with TWO_STEP_ENCRYPTION_KEY. It replaces an unconfirmed setup, never a confirmed one (409 TWO_STEP_ALREADY_ON). Without the key: 503 TWO_STEP_UNAVAILABLE.

post/auth/two-step/setup

Request

  • Base URL
    https://api.medianfi.com/api/v1
  • Auth
    HTTP bearer

Response

The secret (base32) and its otpauth:// link

object required
success, true required
data, object required

Changes