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

    Class PopupInProgressError

    Thrown when mfa.challengeWithPopup is called while another popup is already active.

    Only one popup flow is allowed at a time, regardless of audience. Wait for the current popup to complete or be cancelled before starting another.

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

    try {
    await mfa.challengeWithPopup({ audience: 'https://api.example.com' });
    } catch (err) {
    if (err instanceof PopupInProgressError) {
    console.log('Complete the current MFA prompt first.');
    }
    }

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    Constructors

    Properties

    code: "popup_in_progress" = ...