Templates
Last updated
Was this helpful?
Last updated
Was this helpful?
routeId
string (optional)
Indicates which flow started this verification process. When the methods in MFA Helpers are triggered, they receive this routeId then some custom logic can be added to the switch of each method based on the routeId.
phoneNumber
string (optional)
phoneNumberCountyCode
string (optional)
Enter Phone Number contains the following elements:
component as a container, to handle input submission and loading.
component to display the countries' code.
component to capture the customer's phone number.
Continue to send the verification code to the entered phone.
Enter Phone Verification Code contains the following elements:
component as a container, to handle input submission and loading.
Use the component to capture and verify the code sent to the customer's phone number.
Send Again for if the user did not receive a message with the code.
This screen lets the user choose how they would like to receive the authorization code.
Request Authorization Code Screen contains the following elements:
The phone number combined with the phoneNumberCountryCode needed to send the verification code. If this phone is passed to the template, then the phone input will be pre-populated with it.
The phone number country code combined with the phoneNumber needed to send the verification code. If this country code is passed to the template, then the country code input will be pre-populated with it.
component as a container, to handle loading.
Radio Buttons Group to display the different options to send a verification code. These options are listed from constant.
Send Code send the verification code.
The functionality to send the verification code is implemented by the custom hook.
If the code is sent successfully then it navigates to the template.