Setup Menus in Admin Panel

  • No products in the cart.

  • LOGIN

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 https://github.com/aerogear/aerogear-otp-java

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.

Thanks,
Karthik KK

July 6, 2018

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

Leave a Message

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

ExecuteAutomation┬ę. All rights reserved.