Setup Menus in Admin Panel

  • No products in the cart.


Automating Multi-factor auth (MFA) based application with Katalon Studio

Learn about Automating Multi-factor auth (MFA) based application with Katalon Studio

Multi-factor authentication (MFA) is a method of confirming a user’s claimed identity in which a user is granted access only after successfully presenting 2 or more pieces of evidence (or factors) to an authentication mechanism.

There are different types of MFA available in the market and the one we are going to discuss today is the most common TOTP

Time-based One-time Password (TOTP)

The Time-based One-Time Password algorithm (TOTP) is an algorithm that computes a one-time password from a shared secret key and the current time. It has been adopted as Internet Engineering Task Force is the cornerstone of Initiative For Open Authentication (OATH), and is used in a number of two-factor authentication systems
In a typical two-factor authentication application, setup proceeds as follows: a user enters username and password into a website or other server, the server generates a secret key which the user enters on to their TOTP application on a smartphone or other device

How to get the TOTP authentication code in Katalon then ?

We need to use any one of the API which get the secret key and returns us back the MFA code

We are going to make use of Aerogearotp-java API to generate MFA token

Importing External JAR in Katalon

Katalon Studio allows users to use external Java .jar libraries either through Katalon project settings or copying .jar files to a designated folder. Users can leverage this to extend the capabilities of Katalon Studio and handle specific situations when needed

Here is the complete video of the above discussion

Thanks for reading the post and watching the video!!!

Please leave your comments and let me know if there is anything I should update in this post.

Karthik KK

July 6, 2018

1 responses on "Automating Multi-factor auth (MFA) based application with Katalon Studio"

  1. Hi Karthik,
    Thanks for the excellent demonstration. I am trying to automate a mobile app in which the OTP gets generated in the app. I am unable to capture this OTP from the screen nor I can move out of the app to read it from my mobile messages folder. Can you please help us with capturing otp from notification popup for a mobile application. There are many videos for web application but not for otp capture for a mobile application.

    Thanks in Advance.

Leave a Message

Your email address will not be published. Required fields are marked *

ExecuteAutomation┬ę. All rights reserved.