-
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-authenticatorfactor. -
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:
Parameter Value grant_typehttp://auth0.com/oauth/grant-type/mfa-recovery-coderecovery_codeThe recovery code provided by the user. -
Prompt user to capture recovery code. If the call is successful, you’ll get the authentication tokens and a new recovery code:
- Notify the user that a new recovery code was generated and ask them to capture it.