Saltar al contenido principal
POST
Start enrolling a required MFA factor

Cuerpo

application/json
mfaToken
string
requerido

The enrollment-only token of a 401 AUT-0019 refusal.

Ejemplo:

"eyJhbGciOiJIUzI1NiJ9..."

mfaType
enum<string>
requerido

The factor to enroll: one of the availableMethods of the AUT-0019 refusal.

Opciones disponibles:
app,
email
Ejemplo:

"app"

Respuesta

OK

mfaType
string
requerido
Ejemplo:

"app"

recoveryCodes
string[] | null
requerido

The recovery code to show once and ask the person to keep.

secret
string

The authenticator secret for manual entry. App only.

Ejemplo:

"JBSWY3DPEHPK3PXP"

url
string

The otpauth URI to render as a QR code. App only.

Ejemplo:

"otpauth://totp/Lerian:ana?secret=JBSWY3DPEHPK3PXP"