The Interstitial Captcha screen class is part of the Identifier First Authentication flow and is presented based on the tenant settings. For more details, review Bot Detection.
Import and instantiate the Interstitial Captcha screen class:
Report incorrect code
Copy
Ask AI
import InterstitialCaptcha from "@auth0/auth0-acul-js/interstitial-captcha";const interstitialCaptcha = new InterstitialCaptcha();// SDK Properties return a string, number or boolean// ex. "interstitial-captcha"interstitialCaptcha.screen.name;// SDK Methods return an object or array// ex. { email: "someone@example.com" } interstitialCaptcha.screenData();