OptionalcountryOptional on the interface so existing implementors of BaseMembers (e.g. test mocks)
keep compiling. Always populated at runtime by the BaseContext constructor.
OptionalexperimentThe active Experiment Center experiment for the current screen, or null
when none is active (or the screen has not opted in via context_configuration).
Optional on the interface so existing implementors of BaseMembers (e.g. test mocks)
keep compiling. Always populated at runtime by the BaseContext constructor.
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.
Optionalpayload: CustomOptionsOptional custom parameters to be sent with the request.
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.
}
MfaWebAuthnNotAvailableErrorMembers