mfa

Get your current multi factor auth secret.

get/mfa/secret

Request

  • Base URL
    https://api.mittwald.de/v1
  • Auth
    none declared

Query parameters

multiFactorCodestring

Multi Factor Code to confirm MFA.

Response

Multi factor auth secret

barcodestring required

base64 encoded barcode content to scan from your mfa app. e.g. iVBORw0KGgoAAAANSUhEUgAAAMgAAADIEAAAAADYoy.... You\ncan display it with <img src=\"data:image/png;base64,iVBORw0KGgoAAAANSUh..\" />\n

urlstring required

Same as barcode, but in URL form.\n

Example response

{
  "url": "otpauth://totp/mStudio:test@gmail.com?algorithm=SHA1&digits=6&issuer=mStudio&period=30&secret=HTXT7KJFVNAJUPYWQRWMNVQE5AF5YZI2"
}

Changes

No recorded changes to this operation across all 5 revisions of this API.