Auth

Setup two-factor authentication

Generates a TOTP secret, QR code, and provisioning URI.

post/auth/2fa/setup

Request

  • Base URL
    https://orbitus.netcorecloud.com
  • URL
    https://orbitus.netcorecloud.com/auth/2fa/setup
  • Auth
    HTTP bearer

Response

2FA setup data.

secretstring

TOTP secret key.

provisioning_uristring

OTP auth URI for authenticator apps.

qr_codestring

Base64-encoded QR code image (data URI).

Example response

{
  "secret": "JBSWY3DPEHPK3PXP"
}

Changes

No recorded changes to this operation across all 1 revision of this API.