Passing OTP Codes From Forms to a Auth0 Custom Email Provider

Overview

This article explains how to pass a One-Time Password (OTP) code generated in an Auth0 Form to the Custom Email Provider. It addresses the requirement to transfer data between the password generation widget and the email delivery service.

 

OTP

Applies To
  • Auth0 Forms
  • Custom Email Provider with Actions
  • One-Time Password (OTP) generation
Solution

Form variables within flows are supported only in fields that display a + icon on the right side of the input. 

+ icon

 

To pass a code from the Generate one-time password widget to the Send email widget when the + icon is absent, follow these steps:

  1. Define a variable to hold the generated OTP code.
  2. Access the generated code within the target field using the custom_vars parameter.

custom_vars parameter

Recommended content

No recommended content found...