When recovery codes are enabled for your tenant, Auth0 automatically generates them when a user enrolls with (MFA). The user should save the recovery code. This code can later be used if the user loses access to the device or account used for MFA.When recovery codes are disabled the MFA API will not return a recovery code when you associate a user’s first MFA factor and users cannot authenticate with a recovery code.You can enable users to authenticate with a recovery code using the MFA API.
Prompt the user for their recovery code. That value should be entered in the application for the user to authenticate.
Auth0 does not generate recovery codes for DUO and for the legacy google-authenticator factor.
Authenticate with recovery code. Call the OAuth Token endpoint with the recovery code to authenticate and generate a new recovery code. You need to specify the following parameters: