Signup screen class
The Signup screen class is part of the Identifier First Authentication flow and collects the user’s identifier. Depending on your tenant setup, this identifier can be an email, phone number, or username.
Properties
The Signup screen class properties are:Methods
The Signup screen class methods are:pickCountryCode( options? )
This method redirects the user to the country code selection list, where they can update the country code prefix for their phone number.signup( options? )
This method redirects the user to the next step in the authentication flow. Depending on the server configuration, this screen can include inputs for one or more of the following: email, username, or phone number. For more details, review Flexible Identifiers.Parameter | Type | Required | Description |
---|---|---|---|
email | string | Conditionally | The user’s email. |
phone | string | Conditionally | The user’s phone number. |
username | string | Conditionally | The user’s username. |
password | string | Conditionally | The user’s password. |
captcha | string | Conditionally | The captcha code or response from the captcha provider. This property is required if your Auth0 tenant has Bot Detection enabled. |
[key: string] | string | number | boolean | undefined | No | Additional data collected from the user. This data is accessible in the pre-user-registration Action trigger. |
federatedSignup( options? )
This method redirects the user to the social or enterprise (IdP) for authentication. Review Social Identity Providers and Enterprise Identity Providers for details.Parameter | Type | Required | Description |
---|---|---|---|
connection | string | Yes | The identifier for the connection. |
[key: string] | string | number | boolean | undefined | No | Additional data collected from the user. |
Signup ID screen class
The Signup ID screen class is part of the Identifier First Authentication flow and collects the user’s identifier. Depending on your tenant setup, this identifier can be an email, phone number, or username.
Properties
The Signup ID screen class properties are:Methods
The Signup ID screen class methods are:signup( options? )
This method takes the user to the next step in the authentication flow. Depending on the server configuration, this screen can include inputs for one or more of the following: email, username, or phone number. For more details, review Flexible Identifiers.Parameter | Type | Required | Description |
---|---|---|---|
email | string | Conditionally | The user’s email. |
phone | string | Conditionally | The user’s phone number. |
username | string | Conditionally | The user’s username. |
captcha | string | Conditionally | The captcha code or response from the captcha provider. This property is required if your Auth0 tenant has Bot Detection enabled. |
[key: string] | string | number | boolean | undefined | No | Additional data collected from the user. This data is accessible in the pre-user-registration Action trigger. |
federatedSignup( options? )
This method redirects the user to the social or enterprise identity provider (IdP) for authentication. Review Social Identity Providers and Enterprise Identity Providers for details.Parameter | Type | Required | Description |
---|---|---|---|
connection | string | Yes | The identifier for the connection. |
[key: string] | string | number | boolean | undefined | No | Additional data collected from the user. |
Signup Password screen class
The Signup Password screen class is part of the Identifier First Authentication flow and allows the user to create a password for their profile.
Properties
The Signup Password screen class properties are:Methods
The Signup Password screen class method is:signup( options? )
This method submits the identifier from the previous step and the provided password to create the user’s account. Once created, the user is directed to the next step.Parameter | Type | Required | Description |
---|---|---|---|
captcha | string | Conditionally | The captcha code or response from the captcha provider. This property is required if your Auth0 tenant has Bot Detection enabled. |
email | string | Conditionally | The user’s email. |
password | string | Yes | The user’s password. |
phone | string | Conditionally | The user’s phone number. |
username | string | Conditionally | The user’s username. |
[key: string] | string | number | boolean | undefined | No | Additional data collected from the user. This data is accessible in the pre-user-registration Action trigger. |
Passkey Enrollment screen class
The Passkey Enrollment screen class is part of the Identifier First Authentication flow. It allows the user to create a passkey to use as their authentication credential for all subsequent authentications on your application. Review Passkeys to learn more about using passkeys in Auth0.
Properties
The Passkey Enrollment screen class properties are:Methods
The Passkey Enrollment screen class method are:abortPasskeyEnrollment( options? )
This method sends the user to the Signup Password Screen to create their password.Parameter | Type | Required | Description |
---|---|---|---|
[key: string] | string | number | boolean | undefined | No | Optional data collected from user. |
continuePasskeyEnrollment( options? )
Create a passkey and authenticate the user. After creating the passkey, this method sends the user to theredirect_url
.
Parameter | Type | Required | Description |
---|---|---|---|
[key: string] | string | number | boolean | undefined | No | Optional data collected from user. |
Passkey Enrollment Local screen class
The Passkey Enrollment Local screen class is part of the Identifier First Authentication flow. It allows the user to create a passkey to use as their authentication credential for all subsequent authentications on your application. Review Passkeys to learn more about using passkeys in Auth0
Properties
The Passkey Enrollment Local screen class properties are:Methods
The Passkey Enrollment Local screen class method are:abortPasskeyEnrollment( options )
Skip the passkey creation and provide a password instead. This method sends the user to the Signup Password Screen to create their password.Parameter | Type | Required | Description |
---|---|---|---|
doNotShowAgain | boolean | Yes | Indicates whether or not the user wants to be reminded to create a passkey again after skipping initial creation. |
continuePasskeyEnrollment( options? )
Create a passkey and authenticate the user. After creating the passkey, this operation sends the user to theredirect_url.
Parameter | Type | Required | Description |
---|---|---|---|
[key: string] | string | number | boolean | undefined | No | Optional data collected from user. |
Phone Identifier Challenge screen class
The Phone Identifier Challenge screen class is part of the Identifier First Authentication flow and verifies the user’s phone number before allowing them to sign up. For more details, review Activate and Configure Attributes for Flexible Identifiers.
Properties
The Phone Identifier Challenge screen class properties are:Methods
The Phone Identifier Challenge screen class method are:resendCode( options? )
This method sends a new OTP code to the email provided in the previous step.Parameter | Type | Required | Description |
---|---|---|---|
[key: string] | string | number | boolean | undefined | No | Optional data collected from user. |
returnToPrevious( options? )
This method returns the user to the previous step.Parameter | Type | Required | Description |
---|---|---|---|
[key: string] | string | number | boolean | undefined | No | Optional data collected from user. |
submitPhoneChallenge( options )
This method verifies the provided phone number and allows the user to continue signing up.Parameter | Type | Required | Description |
---|---|---|---|
captcha | string | Conditionally | The captcha code or response from the captcha provider. This property is required if your Auth0 tenant has Bot Detection enabled. |
code | string | Yes | The OTP code sent to the phone number. |
[key: string] | string | number | boolean | undefined | No | Optional data collected from user. |
Phone Identifier Enrollment screen class
The Phone Identifier Enrollment screen class is part of the Identifier First Authentication flow and allows the user to select a method for verifying their phone number before continuing the signup process. For more details, review Activate and Configure Attributes for Flexible Identifiers.
Properties
The Phone Identifier Enrollment screen class properties are:Methods
The Phone Identifier Enrollment screen class method are:continuePhoneEnrollment( options )
Send an OTP code via the user’s chosen method to the phone number provided in the previous step.Parameter | Type | Required | Description |
---|---|---|---|
type | string | Yes | Possible values: text or voice |
[key: string] | string | number | boolean | undefined | No | Optional data collected from user. |
returnToPrevious( options? )
This method returns the user to the previous step.Parameter | Type | Required | Description |
---|---|---|---|
[key: string] | string | number | boolean | undefined | No | Optional data collected from user. |
Email Identifier Challenge screen class
The Email Identifier Challenge screen class is part of the Identifier First Authentication flow and verifies the user’s email address before allowing them to sign up. For more details, review Activate and Configure Attributes for Flexible Identifiers.
Properties
The Email Identifier Challenge screen class properties are:Methods
The Email Identifier Challenge screen class methods are:resendCode( options? )
This method sends a new OTP code to the email provided in the previous step.Parameter | Type | Required | Description |
---|---|---|---|
[key: string] | string | number | boolean | undefined | No | Optional data collected from user. |
returnToPrevious( options? )
This method returns the user to the previous step.Parameter | Type | Required | Description |
---|---|---|---|
[key: string] | string | number | boolean | undefined | No | Optional data collected from user. |
submitEmailChallenge( options? )
This method verifies the provided email address and allows the user to continue signing up.Parameter | Type | Required | Description |
---|---|---|---|
captcha | string | Conditionally | The captcha code or response from the captcha provider. This property is required if your Auth0 tenant has Bot Detection enabled. |
code | string | Yes | The OTP code sent to the email address. |
[key: string] | string | number | boolean | undefined | No | Additional data collected from the user. |