@article {10.3844/jcssp.2025.1099.1112, article_type = {journal}, title = {One Time Password (OTP) Solution for Two Factor Authentication: A Practical Case Study}, author = {Mayorga, Oscar Efrén Acosta and Yoo, Sang Guun}, volume = {21}, number = {5}, year = {2025}, month = {Apr}, pages = {1099-1112}, doi = {10.3844/jcssp.2025.1099.1112}, url = {https://thescipub.com/abstract/jcssp.2025.1099.1112}, abstract = {Currently, static passwords are no longer secure, they expose accounts and data, more advanced and sophisticated approaches are required to guarantee user authentication and operations in digital systems. In this context, this study investigates how in a practical application, addressing security challenges in user authentication using One Time Passwords (OTP) can strengthen two-Factor Authentication (2FA), the use of a sec factor for authentication has gained popularity and using an OTP adds an extra layer of protection, strengthening security beyond the traditional password. Furthermore, it is important to highlight that currently transactions between existing systems are largely carried out through smartphones with specific applications due to convenience and widespread presence in modern life. The objective of this study focuses on generating an OTP solution for two-factor authentication in a practical case based on an applied research methodology. The application of this methodology results in an effective system, improving two-factor authentication by providing security for user access with static passwords, even if someone gains access to the user’s password, they still need the OTP code to access. This article presents an authentication system for 2FA that includes generation and delivery of the access code based on events (HOTP) or time (TOTP) and uses mobile and email applications for OTP code delivery. The entire authentication process from enabling 2FA on the user account to verifying and validating is comprehensively covered.}, journal = {Journal of Computer Science}, publisher = {Science Publications} }