Skip to main content

Documentation Index

Fetch the complete documentation index at: https://auth0-fix-auth-api-docs-migration-completion.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

The MfaWebAuthnError class implements the mfa-webauthn-error screen functionality. This screen is displayed when an error occurs during a WebAuthn operation.
MfaWebAuthnError

Constructors

Create an instance of MFA WebAuthn Error screen manager:
Example
import MfaWebAuthnError from '@auth0/auth0-acul-js/mfa-webauthn-error';

const mfaWebAuthnError = new MfaWebAuthnError();
await mfaWebAuthnError.tryAgain();

Properties

Provides branding-related configurations, such as branding theme and settings.
Provides client-related configurations, such as id, name, and logoUrl, for the mfa-webauthn-error screen.
Provides information about the user’s Organization, such as id and name.
Contains data about the current prompt in the authentication flow.
Contains details specific to the mfa-webauthn-error screen, including its configuration and context.
Contains data related to the tenant, such as id and associated metadata.
Provides transaction-specific data for the mfa-webauthn-error screen, such as active identifiers and flow states.
Handles untrusted data passed to the SDK, such as user input during MFA WebAuthn error handling.
Details of the active user, including username, email, and roles.

Methods

changeLanguage
Promise<void>
This method changes the display language of the Universal Login page.
Example
import MfaWebAuthnError from '@auth0/auth0-acul-js/mfa-webauthn-error';

const mfaWebAuthnError = new MfaWebAuthnError();
mfaWebAuthnError.changeLanguage({
  language: 'fr',
});
Method Parameters

getErrors
This method retrieves the array of transaction errors from the context, or an empty array if none exist.
noThanks
Promise<void>
This method allows the user to decline the current WebAuthn operation.
Example
import MfaWebAuthnError from '@auth0/auth0-acul-js/mfa-webauthn-error';

const mfaWebAuthnError = new MfaWebAuthnError();
await mfaWebAuthnError.noThanks();
Method Parameters

tryAgain
Promise<void>
This method allows the user to retry the previous WebAuthn operation.
Example
import MfaWebAuthnError from '@auth0/auth0-acul-js/mfa-webauthn-error';

const mfaWebAuthnError = new MfaWebAuthnError();
await mfaWebAuthnError.tryAgain();
Method Parameters

tryAnotherMethod
Promise<void>
This method allows the user to try another MFA method.
Example
import MfaWebAuthnError from '@auth0/auth0-acul-js/mfa-webauthn-error';

const mfaWebAuthnError = new MfaWebAuthnError();
await mfaWebAuthnError.tryAnotherMethod();
Method Parameters

usePassword
Promise<void>
This method allows the user to authenticate using their password instead of WebAuthn.
Example
import MfaWebAuthnError from '@auth0/auth0-acul-js/mfa-webauthn-error';

const mfaWebAuthnError = new MfaWebAuthnError();
await mfaWebAuthnError.usePassword();
Method Parameters