Skip to main content
Intuned home page
Search...
⌘K
Documentation
Browser SDKs
Client APIs
Getting started
Introduction
Quickstarts
How it works
Learn
Quick recipes
Download files
Handle pagination
Upload files to S3
Capture screenshots
Handle infinite scrolling
Handle load more buttons
AI scraper
Two-factor authentication
Expand JobRun payloads
Crawl websites
Network interception
Data schema validation
Setup hooks
Long-running API
KV cache
Deep dives
Cookbook (GitHub)
Features
Stealth, CAPTCHAs, and proxies
Intuned Agent
AuthSessions
Runs (single executions)
Jobs (batched executions)
Online IDE
Local development (CLI)
Environment variables and secrets
Monitoring and traces
Usage and billing
Flexible automations
How-To
Troubleshoot & improve automations
Manage your workspace
Integrations
Webhook
AWS S3
Cloudflare R2
Supabase
1Password
Browser Use
Stagehand
n8n
References
Playwright and browser support
Runtime SDK - TypeScript
Runtime SDK - Python
CLI
Intuned.json
Error Codes
Reason Codes
Plans and Billing
Sink Retry Behavior
Resources
Help and Support
Enterprise Services
Terms of service
Privacy policy
Need help?
Dashboard
Intuned home page
Search...
⌘K
Ask AI
Need help?
Dashboard
Dashboard
Search...
Navigation
Quick recipes
Set up two-factor authentication
Quick recipes
Set up two-factor authentication
Copy page
Copy page
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.
Related links
Auth sessions
Intuned auth sessions
Previous
Expand JobRun payloads
Next
⌘I
On this page
Recipe
Prerequisites
Code implementation
Related links