Recipe
This recipe shows how to set up a two-factor authentication (2FA) flow in the Intuned online IDE.Prerequisites
Code implementation
Below is a full example of how to automate a create auth session api to login using Intuned + Playwright + TOTP.Related links
Auth sessions
Intuned auth sessions
Cookbook (Python)
Python TOTP authentication example in the Intuned Cookbook
Cookbook (TypeScript)
TypeScript TOTP authentication example in the Intuned Cookbook