Users

Get the secret key for the authenticated user's 2FA enrolment

Returns the base32-encoded shared secret for the user's 2FA enrolment. Use this if the user is configuring their authenticator app by typing the secret in by hand rather than scanning the QR code returned by getCurrentUserTwoFactorQrCode.

get/user/two-factor-secret-key

Response

The secret key was successfully retrieved.

secretKeystring required

The base32-encoded shared secret.

Example response

{
  "secretKey": "JBSWY3DPEHPK3PXP"
}

Changes