This instruction describes how to set up 2FA services in the Back Office so that your clients can enable 2FA in the B2Core UI and obtain verification codes to sign in to the B2Core UI or confirm their phone numbers.
Before setting up 2FA with SMS, make sure that you have added and configured a 2FA SMS provider (such as Twilio or Vonage).
To deliver 2FA codes to your clients via SMS, do the following:
Configure the following system settings by navigating to System > Settings:
Unique phone (located in the Client settings section)
Confirmation phone code lifetime (located in the Other settings section)
Sms limit for each recipient (located in the Other settings section)
To learn more about these settings, refer to Settings.
Create a template for delivering 2FA codes via SMS.
Check configuration of the wizards related to 2FA with SMS.
To create a custom SMS template for delivering 2FA codes, do the following:
Navigate to System > SMS > Templates, and then click +Create in the upper-right corner of the page.
On the Create template page, fill in the following fields:
In the Name field, enter
In the Caption field, enter a name that you want to use for the template in the Back Office (such as
In the Template field, specify the message text, such as:
<Your company name>: Your verification code is %CODE%.
The text can be specified in the HTML format.
Click Save to save the template.
After you have configured 2FA with SMS in the Back Office, you can test its operation by doing the following:
Sign in to the B2Core UI.
Navigate to Profile > Security.
In the Two-factor authentication pane, enable the Text Message (SMS) option.
To receive a message with a verification code, enter your phone number, and then click Proceed.
If you have received a verification code to a specified phone number, 2FA with SMS operates properly.