> ## Documentation Index
> Fetch the complete documentation index at: https://auth0.com/llms.txt
> Use this file to discover all available pages before exploring further.

# MfaWebAuthnRoamingChallenge

> Describes all the properties and methods available to customize the Universal Login `mfa-webauthn-roaming-challenge` screen.

The MfaWebAuthnRoamingChallenge class implements the `mfa-webauthn-roaming-challenge` screen functionality. This screen is displayed when the user needs to verify their identity using a roaming authenticator, such as a security key.

![MfaWebAuthnRoamingChallenge](https://mintlify.s3.us-west-1.amazonaws.com/auth0/docs/images/cdy7uua7fh8z/joy7T4RglZYOlWItGk5Xm/0a4b2477cba476281ce05f2605acfb12/Screenshot_2025-05-28_at_11.40.56.png)

## Constructors

Create an instance of MFA WebAuthn Roaming Challenge screen manager:

```typescript Example theme={null}
import MfaWebAuthnRoamingChallenge from '@auth0/auth0-acul-js/mfa-webauthn-roaming-challenge';

const mfaWebAuthnRoamingChallenge = new MfaWebAuthnRoamingChallenge();
await mfaWebAuthnRoamingChallenge.verify();
```

## Properties

**branding** `[BrandingMembers](/docs/libraries/acul/js-sdk/Screens/interfaces/BrandingMembers)`

Provides branding-related configurations, such as branding theme and settings.

**client** `[ClientMembers](/docs/libraries/acul/js-sdk/Screens/interfaces/ClientMembers)`

Provides client-related configurations, such as `id`, `name`, and `logoUrl`, for the `mfa-webauthn-roaming-challenge` screen.

**countryCodes** `[CountryCodesMembers](/docs/libraries/acul/js-sdk/Screens/interfaces/CountryCodesMembers)`

Provides country code data for phone number entry, such as `available` and `recommended`, for the `mfa-webauthn-roaming-challenge` screen.

**experiment** `[ExperimentMembers](/docs/libraries/acul/js-sdk/Screens/interfaces/ExperimentMembers)`

The active [Experiment Center](https://auth0.com/docs/customize/experiment-center) experiment for this screen, or `null` when no experiment is active (or the screen has not opted in via `context_configuration`).

**organization** `[OrganizationMembers](/docs/libraries/acul/js-sdk/Screens/interfaces/OrganizationMembers)`

Provides information about the user's Organization, such as `id` and `name`.

**prompt** `[PromptMembers](/docs/libraries/acul/js-sdk/Screens/interfaces/PromptMembers)`

Contains data about the current prompt in the authentication flow.

**screen** `[ScreenMembersOnMfaWebAuthnRoamingChallenge](/docs/libraries/acul/js-sdk/Screens/interfaces/ScreenMembersOnMfaWebAuthnRoamingChallenge)`

Contains details specific to the `mfa-webauthn-roaming-challenge` screen, including its configuration and context.

**tenant** `[TenantMembers](/docs/libraries/acul/js-sdk/Screens/interfaces/TenantMembers)`

Contains data related to the tenant, such as `id` and associated metadata.

**transaction** `[TransactionMembers](/docs/libraries/acul/js-sdk/Screens/interfaces/TransactionMembers)`

Provides transaction-specific data for the `mfa-webauthn-roaming-challenge` screen, such as active identifiers and flow states.

**untrustedData** `[UntrustedDataMembers](/docs/libraries/acul/js-sdk/Screens/interfaces/UntrustedDataMembers)`

Handles untrusted data passed to the SDK, such as user input during MFA WebAuthn roaming challenge.

**user** `[UserMembers](/docs/libraries/acul/js-sdk/Screens/interfaces/UserMembers)`

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.

```typescript Example theme={null}
import MfaWebAuthnRoamingChallenge from '@auth0/auth0-acul-js/mfa-webauthn-roaming-challenge';

const mfaWebAuthnRoamingChallenge = new MfaWebAuthnRoamingChallenge();
mfaWebAuthnRoamingChallenge.changeLanguage({
  language: 'fr',
});
```

**Method Parameters**

**Parameters**

**options**

[LanguageChangeOptions](https://auth0.com/docs/libraries/acul/js-sdk/Screens/interfaces/LanguageChangeOptions).

**language** `string` *required*

The locale code for the desired language (for example, `'en'`, `'fr'`, `'es'`).

**persist?** `"session"`

When set to `'session'`, the selected language persists for the duration of the session.

**getErrors** `[Error](/docs/libraries/acul/js-sdk/Screens/interfaces/Error)[]`

This method retrieves the array of transaction errors from the context, or an empty array if none exist.

**reportWebAuthnError** `Promise\<void\>`

This method reports a WebAuthn API error encountered during the `navigator.credentials.get()` operation.

```typescript Example theme={null}
import MfaWebAuthnRoamingChallenge from '@auth0/auth0-acul-js/mfa-webauthn-roaming-challenge';

const mfaWebAuthnRoamingChallenge = new MfaWebAuthnRoamingChallenge();
await mfaWebAuthnRoamingChallenge.reportWebAuthnError({
  error: { name: 'NotAllowedError', message: 'The operation was not allowed.' },
});
```

**Method Parameters**

**Parameters**

**options**

[MfaWebAuthnRoamingChallengeReportErrorOptions](https://auth0.com/docs/libraries/acul/js-sdk/Screens/interfaces/MfaWebAuthnRoamingChallengeReportErrorOptions).

**error** `[WebAuthnErrorDetails](/docs/libraries/acul/js-sdk/Screens/interfaces/WebAuthnErrorDetails)` *required*

The error object from the WebAuthn API (`navigator.credentials.get()`) to be reported.

**name** `string` *required*

The name of the error (e.g., `'NotAllowedError'`).

**message** `string` *required*

The error message describing what went wrong.

**tryAnotherMethod** `Promise\<void\>`

This method allows the user to try another MFA method.

```typescript Example theme={null}
import MfaWebAuthnRoamingChallenge from '@auth0/auth0-acul-js/mfa-webauthn-roaming-challenge';

const mfaWebAuthnRoamingChallenge = new MfaWebAuthnRoamingChallenge();
await mfaWebAuthnRoamingChallenge.tryAnotherMethod();
```

**verify** `Promise\<void\>`

This method initiates the WebAuthn challenge using the security key.

```typescript Example theme={null}
import MfaWebAuthnRoamingChallenge from '@auth0/auth0-acul-js/mfa-webauthn-roaming-challenge';

const mfaWebAuthnRoamingChallenge = new MfaWebAuthnRoamingChallenge();
await mfaWebAuthnRoamingChallenge.verify();
```

**Method Parameters**

**Parameters**

**options**

[CustomOptions](https://auth0.com/docs/libraries/acul/js-sdk/Screens/interfaces/CustomOptions).

**rememberDevice?** `boolean`

When `true`, remembers the browser for future MFA challenges. Only applicable if `screen.showRememberDevice` is `true`.
