@auth0/nextjs-auth0 - v4.19.0
    Preparing search index...

    Class PopupTimeoutError

    Thrown when the popup does not complete authentication within the configured timeout.

    Default timeout is 60 seconds. Configure per-call via ChallengeWithPopupOptions.timeout.

    import { PopupTimeoutError } from '@auth0/nextjs-auth0/errors';

    try {
    await mfa.challengeWithPopup({ audience: 'https://api.example.com', timeout: 120000 });
    } catch (err) {
    if (err instanceof PopupTimeoutError) {
    console.log('MFA timed out. Please try again.');
    }
    }

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    Constructors

    Properties

    code: "popup_timeout" = ...