What is Two-Factor Authentication (2FA) and How to Use It?

What is Two-Factor Authentication (2FA) and How to Use It?

Two-factor authentication (2FA) with Kuika's Configuration Manager module offers an additional layer of security to protect user accounts. In addition to username and password, the second verification step, provided via SMS or verification apps, increases account security.

What is 2FA?

2FA requires two different pieces of information to verify user identity. In the first step, the username and password are entered. In the second step, a one-time password (OTP) sent to the mobile phone or a security code from the verification app is entered. Thus, even if the password is intercepted, the account cannot be accessed.

How does 2FA Work?

  • Step One: Enter username and password.
  • Step Two: Enter the security code received via SMS or verification application.
How to Use 2FA?

To Create a New Configuration:

  • Login to Kuika platform.
  • Select the project you will work on from the Apps screen.
  • Click the Configuration Manager module from the left menu.
  • Enter a name for the configuration and click the CREATE button.

Configure 2FA Settings:

  • Go to the Authentication & Authorization field.
  • Activate the switch in the 2FA field. The first step is password, the second step is OTP or security code.
  • In the 2 Auth Duration field, set the validity period of the OTP or security code (e.g. 15 days).

Using OTP and Security Code:

  • OTP via SMS: After password verification, the identity is verified by entering a single-use code sent to the mobile phone.
Edit Verification Code Screen and Templates
  • Verification Code Screen: Customize using the Screens panel in the UI Design module.
  • Sending Verification Code by Email: Edit the email design using the Verify Email template in the Email Builder module.

Sending Verification Code via SMS or Notification

  • You can create a new validation method using the Datasources module:
    • Open the Datasources module.
  • Create a new Datasource by clicking the + icon in the left panel.
  • Select the C# option.
  • Select Custom Verification Code Sender Provider from the Selectbox field.

This method sends the verification code via email, SMS or notification. The following information is requested from the user during these operations:

  • User Email: User's email address
  • First-Last Name User's first and last name
  • User Phone User's phone number
  • Make the necessary adjustments above the return false code block for the user's preferred validation method.
  • Finally, click the CREATE button to complete the process.

Benefits of Using 2FA

2FA provides an additional layer of security in case passwords are compromised. This method, which has a wide range of uses from financial transactions to social media accounts, increases account security and prevents unauthorized access.

Other Related Content

Glossary

No items found.

Alt Başlıklar