Skip to main content

Reset Password screen class

The Reset Password screen class is part of the Identifier First Authentication flow and resets the user’s password.
ACUL Reset password
Import and instantiate the Reset Password screen class

Properties

The Reset Password screen class properties are:

Methods

The Reset Password screen class method is:

resetPassword( options? )

This method prompts the user for an email to send instructions to reset their password.
Parameter                 TypeRequiredDescription
passwordstringYesThe user’s password.
re-enter-passwordstringYesThe user’s password.
[key: string]string | number | boolean | undefinedNoAdditional data collected from the user.

Reset Password Email screen class

The Reset Password Email screen class is part of the Identifier First Authentication flow and sends the user email instructions to reset their password.
ACUL Reset_password_email
Import and instantiate the Reset Password Email screen class

Properties

The Reset Password Email screen class properties are:

Methods

The Reset Password Email screen class method is:

resendEmail( options? )

This method resends an email with instructions to reset their password. .
Parameter                 TypeRequiredDescription
[key: string]string | number | boolean | undefinedNoAdditional data collected from the user.

Reset Password Error screen class

The Reset Password Error screen class is part of the Identifier First Authentication flow and sends the user back to your application.
ACUL reset password error
Import and instantiate the Reset Password Error screen class

Properties

The Reset Password Error screen class properties are:

Reset Password Request screen class

The Reset Password Request screen class is part of the Identifier First Authentication flow and prompts the user for an email to send reset password instructions.
Import and instantiate the Reset Password Request screen class

Properties

The Reset Password Request screen class properties are:

Methods

The Reset Password Request screen class method are:

backToLogin( options? )

This method takes the user back your application to login.
Parameter                 TypeRequiredDescription
[key: string]string | number | boolean | undefinedNoOptional data collected from user.

resetPassword( options? )

This method prompts the user to enter their email address or username to receive reset password instructions.
Parameter                 TypeRequiredDescription
captchastringConditionallyThe captcha code or response from the captcha provider. This property is required if your Auth0 tenant has Bot Detection enabled.
emailstringConditionallyThe user’s email.
[key: string]string | number | boolean | undefinedNoAdditional data collected from the user.

Reset Password Success screen class

The Reset Password Success screen class is part of the Identifier First Authentication flow and confirms the password change and returns the user to your application.
ACUL Request password success
Import and instantiate the Reset Password Success screen class

Properties

The Reset Password Success screen class properties are:

Reset Password MFA Email Challenge screen class

The Reset Password Email Challenge screen class provides methods associated with the reset-password-mfa-email-challenge screen.
Import and instantiate the Reset Password MFA Email Challenge screen class:

Properties

The Reset Password MFA Email Challenge screen class properties are:

Methods

The Reset Password MFA Email Challenge screen class method are:

continue( options ?)

This method continues with the OTP challenge using the provided code.
Parameter                 TypeRequiredDescription
codestringYesThe code entered by the user.
rememberBrowserbooleanNoRemember the user’s browser configuration.

resendCode( options ?)

This method resends the OTP code by email.
Parameter                 TypeRequiredDescription
[key: string]string | number | boolean | undefinedNoOptional data collected from user.

tryAnotherMethod( options ?)

This method allows the user to try another MFA method.
Parameter                 TypeRequiredDescription
[key: string]string | number | boolean | undefinedNoOptional data collected from user.

Reset Password MFA OTP Challenge screen class

The Reset Password MFA OTP Challenge screen class provides methods associated with the reset-password-mfa-otp-challenge screen.
Import and instantiate the Reset Password MFA OTP Challenge screen class:

Properties

The Reset Password MFA OTP Challenge screen class properties are:

Methods

The Reset Password MFA OTP Challenge screen class methods are:

continue( options ?)

This method continues with the OTP challenge using the provided code.
Parameter                 TypeRequiredDescription
codestringYesThe code entered by the user.
[key: string]string | number | boolean | undefinedNoOptional data collected from user.

tryAnotherMethod( options ?)

This method allows the user to try another MFA method.
Parameter                 TypeRequiredDescription
[key: string]string | number | boolean | undefinedNoOptional data collected from user.

Reset Password MFA Phone Challenge screen class

The Reset Password MFA Phone Challenge screen class provides methods associated with the reset-password-mfa-phone-challenge screen.
Import and instantiate the Reset Password MFA Phone Challenge screen class:

Properties

The Reset Password MFA Phone Challenge screen class properties are:

Methods

The Reset Password MFA Phone Challenge screen class methods are:

continue( options ?)

This method sends the verification code to the user’s phone via the selected method SMS or voice.
Parameter                 TypeRequiredDescription
typesms | voiceYesdefine the method to receive the verification code.

tryAnotherMethod( options ?)

This method allows the user to try another method.
Parameter                 TypeRequiredDescription
typesms | voiceYesdefine the method to receive the verification code.

Reset Password MFA Push Challenge Push screen class

The Reset Password MFA Push Challenge Push screen class provides methods associated with the reset-password-mfa-push-challenge-push screen. This screen is shown when a push notification has been sent to the user’s device during password reset
Import and instantiate the Reset Password MFA Push Challenge Push screen class:

Properties

The Reset Password MFA Push Challenge Push screen class properties are:

Methods

The Reset Password MFA Push Challenge Push screen class methods are:

continue( options ?)

This method continues with the push notification challenge.
Parameter                 TypeRequiredDescription
[key: string]string | number | boolean | undefinedNoOptional data collected from user.

enterCodeManually( options ?)

This method allows the user to enter the verification code manually.
Parameter                 TypeRequiredDescription
[key: string]string | number | boolean | undefinedNoOptional data collected from user.

resendPushNotification( options ?)

This method resends the push notification.
Parameter                 TypeRequiredDescription
[key: string]string | number | boolean | undefinedNoOptional data collected from user.

tryAnotherMethod( options ?)

This method allows the user to try another method.
Parameter                 TypeRequiredDescription
[key: string]string | number | boolean | undefinedNoOptional data collected from user.

Reset Password MFA Recovery Code Challenge screen class

The Reset Password MFA Recovery Code Challenge screen class provides methods associated with the reset-password-mfa-recovery-code-challenge screen.
Import and instantiate the Reset Password MFA Recovery Code Challenge screen class:

Properties

The Reset Password MFA Recovery Code Challenge screen class properties are:

Methods

The Reset Password MFA Recovery Code Challenge methods are:

continue( options ?)

This method submits the recovery code.
Parameter                 TypeRequiredDescription
codestringYesThe code entered by the user.
[key: string]string | number | boolean | undefinedNoOptional data collected from user.

tryAnotherMethod( options ?)

This method allows the user to try another method.
Parameter                 TypeRequiredDescription
[key: string]string | number | boolean | undefinedNoOptional data collected from user.

Reset Password MFA SMS Challenge screen class

The Reset Password MFA SMS Challenge screen class provides methods associated with the reset-password-mfa-sms-challenge screen.
Import and instantiate the Reset Password MFA SMS Challenge screen class:

Properties

The Reset Password MFA SMS Challenge screen class properties are:

Methods

The Reset Password MFA SMS Challenge methods are:

continueMfaSmsChallenge( options ?)

This method submits the MFA SMS challenge with the provided code.
Parameter                 TypeRequiredDescription
codestringYesThe code entered by the user.
[key: string]string | number | boolean | undefinedNoOptional data collected from user.

getACall( options ?)

This method submits the action to switch to voice call verification.
Parameter                 TypeRequiredDescription
[key: string]string | number | boolean | undefinedNoOptional data collected from user.

resendCode( options ?)

This method resends the SMS code.
Parameter                 TypeRequiredDescription
[key: string]string | number | boolean | undefinedNoOptional data collected from user.

tryAnotherMethod( options ?)

This method allows the user to try another MFA method.
Parameter                 TypeRequiredDescription
[key: string]string | number | boolean | undefinedNoOptional data collected from user.

Reset Password MFA Voice Challenge screen class

The Reset Password MFA Voice Challenge screen class provides methods associated with the reset-password-mfa-voice-challenge screen.
Import and instantiate the Reset Password MFA Voice Challenge screen class:

Properties

The Reset Password MFA Voice Challenge screen class properties are:

Methods

The Reset Password MFA Voice Challenge methods are:

continue( options ?)

This method continues with the voice challenge using the provided code.
Parameter                 TypeRequiredDescription
codestringYesThe code entered by the user.
[key: string]string | number | boolean | undefinedNoOptional data collected from user.

resendCode( options ?)

This method resends the code via voice call.
Parameter                 TypeRequiredDescription
[key: string]string | number | boolean | undefinedNoOptional data collected from user.

switchToSms( options ?)

This method switches verification from voice call to SMS.
Parameter                 TypeRequiredDescription
[key: string]string | number | boolean | undefinedNoOptional data collected from user.

tryAnotherMethod( options ?)

This method allows the user to try another MFA method.
Parameter                 TypeRequiredDescription
[key: string]string | number | boolean | undefinedNoOptional data collected from user.

Reset Password MFA WebAuthn Platform Challenge screen class

The Reset Password MFA WebAuth Platform Challenge screen class provides methods associated with the reset-password-mfa-webauthn-platform-challenge screen.
Import and instantiate the Reset Password MFA WebAuth Platform Challenge screen class:

Properties

The Reset Password MFA WebAuth Platform Challenge screen class properties are:

Methods

The Reset Password MFA WebAuth Platform Challenge methods are:

continueWithPasskey( options ?)

This method initiates the WebAuthn platform authenticator challenge by calling navigator.credentials.get() using the challenge options provided in screen.publicKey.
ParameterTypeRequiredDescription
rememberDevicebooleanNoRemember the browser for future MFA challenges. Corresponds to the rememberBrowser form field. This is only applicable if screen.showRememberDevice is true.
[key: string]string | number | boolean | undefinedNoAdditional data collected from the user.

reportBrowserError( options? )

This method reports a browser-side error that occurred during the navigator.credentials.get() API call. This is used to inform Auth0 about issues like user cancellation (NotAllowedError), timeout, or other WebAuthn API specific errors. It submits the error details with action: "showError::{errorDetailsJsonString}".
ParameterTypeRequiredDescription
errormessage: string | name: stringYesThe error object from the WebAuthn API (navigator.credentials.get()) to be reported.
[key: string]string | number | boolean | undefinedNoAdditional data collected from the user.

tryAnotherMethod( options? )

This method allows the user to opt-out of the WebAuthn platform challenge and select a different MFA method.
Parameter                 TypeRequiredDescription
[key: string]string | number | boolean | undefinedNoOptional data collected from user.

Reset Password MFA WebAuthn Roaming Challenge screen class

The Reset Password MFA WebAuth Roaming Challenge screen class provides methods associated with the reset-password-mfa-webauthn-roaming-challenge screen.
Import and instantiate the Reset Password MFA WebAuth Roaming Challenge screen class:

Properties

The Reset Password MFA WebAuth Roaming Challenge screen class properties are:

Methods

The Reset Password MFA WebAuth Roaming Challenge methods are:

showError( options ?)

This method reports a client-side WebAuthn API error (from navigator.credentials.get()) to Auth0. This method is intended to be called when useSecurityKey (or a direct call to navigator.credentials.get()) fails due to a standard WebAuthn API error (e.g., NotAllowedError if the user cancels, NotFoundError, SecurityError, timeout). It submits the error details with action: "showError::{errorDetailsJsonString}" and an empty response.
ParameterTypeRequiredDescription
errormessage: string | name: stringYesThe error object from the WebAuthn API (navigator.credentials.get()) to be reported.
[key: string]string | number | boolean | undefinedNoAdditional data collected from the user.

tryAnotherMethod( options? )

This method allows the user to opt-out of the WebAuthn platform challenge and select a different MFA method.
ParameterTypeRequiredDescription
rememberDevicebooleanNoRemember the browser for future MFA challenges. Corresponds to the rememberBrowser form field. This is only applicable if screen.showRememberDevice is true.
[key: string]string | number | boolean | undefinedNoAdditional data collected from the user.

useSecurityKey( options? )

This method initiates the WebAuthn security key challenge. This method internally calls navigator.credentials.get() using the challenge options provided in this.screen.publicKey. If the user successfully authenticates with their security key, the resulting PublicKeyCredential is stringified and submitted to Auth0 with action: "default".
ParameterTypeRequiredDescription
rememberDevicebooleanNoRemember the browser for future MFA challenges. Corresponds to the rememberBrowser form field. This is only applicable if screen.showRememberDevice is true.
[key: string]string | number | boolean | undefinedNoAdditional data collected from the user.