Skip to main content
The ResetPasswordMfaPushChallengePush class implements the reset-password-mfa-push-challenge-push screen functionality. This screen is displayed when a push notification has been sent to the user’s device as part of the MFA step during a password reset flow.

Constructors

Create an instance of ResetPasswordMfaPushChallengePush screen manager
Example
import ResetPasswordMfaPushChallengePush from '@auth0/auth0-acul-js/reset-password-mfa-push-challenge-push';

const resetPasswordMfaPushChallengePushManager = new ResetPasswordMfaPushChallengePush();
await resetPasswordMfaPushChallengePushManager.continue();

Properties

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

Methods

continue
(options ?)
This method confirms the push notification challenge to continue the MFA step during the password reset flow.
Example
import ResetPasswordMfaPushChallengePush from '@auth0/auth0-acul-js/reset-password-mfa-push-challenge-push';

const resetPasswordMfaPushChallengePushManager = new ResetPasswordMfaPushChallengePush();
await resetPasswordMfaPushChallengePushManager.continue();
options
OPTIONAL
Optional payload.
enterCodeManually
(options ?)
This method switches the user to manual code entry instead of waiting for the push notification approval.
Example
import ResetPasswordMfaPushChallengePush from '@auth0/auth0-acul-js/reset-password-mfa-push-challenge-push';

const resetPasswordMfaPushChallengePushManager = new ResetPasswordMfaPushChallengePush();
await resetPasswordMfaPushChallengePushManager.enterCodeManually();
options
OPTIONAL
Optional payload.
resendPushNotification
(options ?)
This method resends the push notification to the user’s device.
Example
import ResetPasswordMfaPushChallengePush from '@auth0/auth0-acul-js/reset-password-mfa-push-challenge-push';

const resetPasswordMfaPushChallengePushManager = new ResetPasswordMfaPushChallengePush();
await resetPasswordMfaPushChallengePushManager.resendPushNotification();
options
OPTIONAL
Optional payload.
This method starts and manages polling for the MFA push challenge. It repeatedly checks whether the push notification has been approved at the specified interval and invokes the onCompleted callback when approval is detected. HTTP 429 rate limit responses are handled internally — polling waits for the rate limit to reset before retrying.The returned MfaPushPollingControl exposes startPolling(), stopPolling(), and isRunning() to manage the polling lifecycle.
Example
import ResetPasswordMfaPushChallengePush from '@auth0/auth0-acul-js/reset-password-mfa-push-challenge-push';

const resetPasswordMfaPushChallengePushManager = new ResetPasswordMfaPushChallengePush();
const control = resetPasswordMfaPushChallengePushManager.pollingManager({
  intervalMs: 5000,
  onCompleted: () => resetPasswordMfaPushChallengePushManager.continue(),
  onError: (error) => console.error('Polling error:', error),
});

control.startPolling();

// Cancel polling if needed
control.stopPolling();
options
OPTIONAL
Optional payload.
tryAnotherMethod
(options ?)
This method allows the user to select a different MFA method to complete the challenge.
Example
import ResetPasswordMfaPushChallengePush from '@auth0/auth0-acul-js/reset-password-mfa-push-challenge-push';

const resetPasswordMfaPushChallengePushManager = new ResetPasswordMfaPushChallengePush();
await resetPasswordMfaPushChallengePushManager.tryAnotherMethod();
options
OPTIONAL
Optional payload.
getErrors
This method retrieves the array of transaction errors from the context, or an empty array if none exist.