How to set up 2FA

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.

How to set up 2FA with SMS


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.

How to create a template for delivering 2FA codes via SMS

To create a custom SMS template for delivering 2FA codes, do the following:

  1. Navigate to System > SMS > Templates, and then click +Create in the upper-right corner of the page.

  2. On the Create template page, fill in the following fields:

  • In the Name field, enter default.

  • In the Caption field, enter a name that you want to use for the template in the Back Office (such as 2FA SMS).

  • 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.

  1. Click Save to save the template.

How to test operation of 2FA with SMS

After you have configured 2FA with SMS in the Back Office, you can test its operation by doing the following:

  1. Sign in to the B2Core UI.

  2. Navigate to Profile > Security.

  3. In the Two-factor authentication pane, enable the Text Message (SMS) option.

  4. 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.