Categories: Vicidial

How to – Setup Two Factor Authentication (2FA) on your ViciDial system

How to – Setup Two Factor Authentication (2FA) on your ViciDial system

This article will go over how to setup two factor authentication on your Vicidial system using the phone method. Later on I will add the SMS and Email methods.

Step 1 – Create the 2FA settings container

First we need to create the 2FA settings container that we will need to choose in system settings when we enable two factor authentication. Below is an example of how to setup a container for a phone call auth:

Step 2 – Set an email and mobile phone on the admin user

You must make sure to add an email and mobile phone to the admin user you are saying 2FA for or you will lock yourself out of the system.

Step 3 – Enable two factor authentication on system settings

The next thing we need to do is turn this feature on and set a couple variables needed for it to work. To do this go to Admin then system settings as shown below:

Now when you hit submit, it’s going to turn on 2FA and if you didn’t set it up correctly you will be locked out of the system for good or until you fix it via MySQL with the following code:

mysql -p
> use asterisk
> UPDATE system_settings SET two_factor_auth_hours='0';

If you did everything correctly you should see this when you try to login:

Hopefully this has helped you guys set this up with less headache than I went through.

Chris aka carpenox

carpenox

Recent Posts

How to – Fix Apache not starting on ViciBox

How to - Fix Apache not starting on ViciBox There is a new issue with…

3 weeks ago

How to – Use the full functionality of the ViciDial installer by carpenox

How to - Use the full functionality of the ViciDial installer by carpenox Vicidial administrators, take note: the Carpenox Auto Installer is about to change the game. This tool transforms the usually complex setup of Vicidial into a smooth, hassle-free experience. Let…

2 months ago

How to – Decrease SDP(short duration percent) in ViciDial

How to - Decrease SDP(short duration percent) in ViciDial There is a new feature in…

2 months ago

August 2024 VICIdial Security Update

August 2024 VICIdial Security Update Please read this carefully as it contains important information regarding…

4 months ago

50% off by joining our discord!

50% off by joining our discord! Unlock 50% Off Any Item in Our Store by…

4 months ago

Empower Your Business with a White Labeled Dialer Solution from CyburDial

Empower Your Business with a White Labeled Dialer Solution from CyburDial In today's rapidly evolving…

8 months ago

This website uses cookies.