Set Password With Verification Code

Set Password With Verification Code

The Set Password With Verification Code action allows users to set a new password using a verification code sent to their email. This action is commonly used in password reset and first login scenarios. After the user successfully enters the verification code, they create a new password and gain system access.

Technical Features

  • The accuracy of the verification code entered by the user is checked by the system.
  • After the code is verified, the user is asked to enter a new password.
  • The secure password setting process is performed through the system.
  • Works on web and mobile apps.
Set Password With Verification Code Action Application Steps
  1. Log in to the Kuika platform.
  2. Open the project you want to work on from the Apps screen.
  3. Go to the UI Design module.
  4. Open the Properties panel on the right side.
  1. From the + ADD ACTION menu, add the Authorisation > Set Password With Verification Code action according to the trigger event you want (Initial Actions, OnClick, OnBlur, etc.).

Parameter Definitions

  • User Name (String – Required): The email address of the user to whom the verification code is sent. Example Entry: txtEmail.value
  • Verification Code (String – Required): The verification code sent to the user's email address. Example Entry: txtCode.value
  • New Password (String – Required): The new password the user wants to create. Example Entry: txtNewPassword.value

All parameters can be dynamically linked to the Symbol Picker via Form Component, Action Result or Fixed resources.

Usage Scenario: Creating a New Password with a Verification Code

After receiving the verification code via the ‘Forgot My Password’ screen, a user wants to create a new password in the system. During this process, the user enters both their email address and the verification code they received to set their new password.

Application Flow:

  • Element: ‘Save New Password’ button
  • Trigger: OnClick
  • Action: Authorisation → Set Password With Verification Code

Parameter Configuration:

  • User Name: txtEmail.value
  • Verification Code: txtVerificationCode.value
  • New Password: txtNewPassword.value

After completing the password setting process, the user can log in to the system with their new credentials.

Set Password With Verification Code Action Advanced Customisations
  • Form Validation Integration: The New Password field can be checked for compliance with password policies (e.g. at least one uppercase letter, special characters, minimum number of characters). This helps users create more secure passwords.
  • Password Strength Indicator: You can add a Progress Bar element that shows users how strong their new password is. This visual support improves the user experience.
  • Multilingual Warning and Information: Error or success messages during the verification process can be displayed in multiple languages according to the user's preferred language. It can be integrated with the Language parameter.
  • Automatic Login Process (Optional): After the user sets their new password, they can optionally be logged in automatically. For this, an Encrypted Sign In action can be triggered after the Set Password With Verification Code action.
  • Timeout and Code Duration Control: If the verification code expires, a redirect or action can be designed to automatically send a new code to the user (integrated with the Send Verification Code action).
  • Security Log Recording: Log mechanisms can be created in the background to record password reset operations on the system side. This allows tracking which users have reset their passwords.
  • User Information Masked Feedback: For security purposes, if the verification code is invalid, a general message such as ‘Code is invalid’ should be displayed, and information such as the email address to which the code was sent should not be clearly displayed.

Technical Risks and Precautions

  • Incorrect Code Entry: If the verification code entered by the user is incorrect, the system should display an error message and redirect the user.
  • Code Expired: If the verification codes have expired, the system should inform the user and request a new code.
  • Weak Password Selection: The new password must comply with security standards (at least 8 characters, combination of letters and numbers, etc.).
  • Form Validation: No action should be triggered unless all fields are filled in. If necessary, validation rules should be applied to the fields.

The ‘Set Password With Verification Code’ action enables users to securely set a new password using verified identity information within the system. As an integral part of the password reset process, this action enhances the user experience and serves as a fundamental component of a secure application workflow.

Other Related Content

No items found.

Glossary

No items found.

Alt Başlıklar