@auth0/auth0-acul-js - v0.1.0-beta.7
    Preparing search index...

    Interface MfaWebAuthnNotAvailableErrorMembers

    MfaWebAuthnNotAvailableErrorMembers

    Hierarchy

    • BaseMembers
      • MfaWebAuthnNotAvailableErrorMembers

    Implemented by

    Index

    Properties

    Methods

    • Allows the user to select a different MFA method because WebAuthn is not available. This action navigates the user to an authenticator selection screen where they can choose from other available/enrolled MFA factors.

      Parameters

      Returns Promise<void>

      A promise that resolves upon successful submission of the 'pick-authenticator' action.

      Throws an error if the form submission fails (e.g., network issues, server-side validation errors).

      // Assuming 'sdk' is an instance of MfaWebAuthnNotAvailableError
      try {
      await sdk.tryAnotherMethod();
      // On success, Auth0 handles redirection to the authenticator selection screen.
      } catch (error) {
      console.error('Failed to switch to another MFA method:', error);
      // Potentially update UI to inform the user of the failure.
      }