Two Factor Authentication

Meet the Kuika Two Factor Authentication setting.

Two-Factor Authentication (2FA) is a security measure used to make online accounts and digital systems more secure. During the application development process, you can enhance your application's security measures by using two-factor authentication codes.

Two-Factor Authentication (2FA) supports both Mobile and Web applications.

During the application development process, the general working structure of Two Factor Authentication is as follows:

  • During user sign-in, the first authentication factor, such as username and password, is entered.

  • Subsequently, a second authentication factor is required. This factor typically could be a one-time code generated by the application, an email verification link, and/or a physical security key.

Once both factors are correctly verified, the user can access the application.

To set up the Two Factor Authentication structure within the Kuika platform, open the Configuration Manager view mode through the Configuration Manager icon in the Header.

In the opened screen, name the Configuration Manager. From the created Configuration Manager, go to the App Settings tab. Activate the 2FA Authentication Switch from the AUTHENTICATION & AUTHORIZATION section.

With the activation of the switch, when the user signs into the application with the user email and password, a screen with a Verification Code screen role will greet the user.

To edit the Verification Code screen, you can use the Screens panel in the UI Design view mode.

A Verification Code will be sent to the user's email.

To edit the Verification Code email, you can use the Verify Email template in the Email Builder view mode.

To receive the Verification Code via SMS or Notification instead of email, open the Datasource view mode via the Header.

On this screen, you need to create a new Datasource. For this, click the + icon on the left panel. From the opened screen, make the C# selection. Then, from the Selectbox on the same screen, choose the Custom Verification Code Sender Provider.

With this selection, the user will have chosen how the Verification Code is sent. The Datasource created should ask the user for the user email (User Name), User's first and last name, and User Phone Number. This information is requested from the user.

The user should fill out the return false code block above depending on how they want to send the code (email, notification...).

Then, click the Create button to complete the process.

Last updated