Skip to main content

Recipe

This recipe shows how to set up a two-factor authentication (2FA) flow in the Intuned online IDE.

Prerequisites

1

Enable auth session in `intuned.json`

Make sure authentication sessions are enabled.
2

Install the two-factor authentication package

Add the required dependency to your project:

Code implementation

Below is a full example of how to automate a create auth session api to login using Intuned + Playwright + TOTP.