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

# SignupId

> Describes all the properties and methods available to customize the Universal Login `signup-id` screen.

The SignupId class implements the `signup-id` screen functionality. This screen collects the user's identifier — such as email, username, or phone number — as the first step of a multi-step signup flow. It also supports federated signup via social or enterprise connections and Google One Tap.

![Signup ID](https://mintlify.s3.us-west-1.amazonaws.com/docs-dev/images/cdy7uua7fh8z/5lzGYj0k4VcxvPCBYH37SO/ebd291cc0dbd673a70f93530f724bf65/Signup_ID.png)

## Constructors

Create an instance of SignupId screen manager:

```typescript Example theme={null}
import SignupId from '@auth0/auth0-acul-js/signup-id';
const signupIdManager = new SignupId();
signupIdManager.signup({
  email: 'test@example.com',
});
```

## 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 `signup-id` 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 `signup-id` screen.

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

The active [Experiment Center](/docs/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** `[ScreenMembersOnSignupId](/docs/libraries/acul/js-sdk/Screens/interfaces/ScreenMembersOnSignupId)`

Contains details specific to the `signup-id` 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** `[TransactionMembersOnSignupId](/docs/libraries/acul/js-sdk/Screens/interfaces/TransactionMembersOnSignupId)`

Provides transaction-specific data, 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 login.

**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 SignupId from '@auth0/auth0-acul-js/signup-id';
const signupIdManager = new SignupId();
signupIdManager.changeLanguage({
  language: 'fr',
});
```

**Method Parameters**

**Parameters**

**options**

[LanguageChangeOptions](/docs/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.

**federatedSignup** `Promise\<void\>`

This method redirects the user to the [Social](/docs/docs/authenticate/identity-providers/social-identity-providers) or [Enterprise Identity Provider](/docs/docs/authenticate/identity-providers/enterprise-identity-providers) (IdP) for signup.

```typescript Example theme={null}
import SignupId from '@auth0/auth0-acul-js/signup-id';
const signupIdManager = new SignupId();
signupIdManager.federatedSignup({
  connection: 'google-oauth2',
});
```

**Method Parameters**

**Parameters**

**options**

[FederatedSignupOptions](/docs/docs/libraries/acul/js-sdk/Screens/interfaces/FederatedSignupOptions).

**connection** `string` *required*

The Social or Enterprise Identity Provider connection name.

**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. An array of error objects from the transaction context.

**getSignupIdentifiers** `[Identifier](/docs/libraries/acul/js-sdk/Screens/interfaces/Identifier)[] | null`

This method returns the list of enabled identifiers for the `signup-id` form, marking each as required or optional based on transaction config. An array of identifier objects (for example: email, phone, username).

```typescript Example theme={null}
import SignupId from '@auth0/auth0-acul-js/signup-id';
const signupIdManager = new SignupId();
const identifiers = signupIdManager.getSignupIdentifiers();
// [{ type: 'email', required: true }, { type: 'username', required: false }]
```

**googleOneTap** `Promise\<void\>`

This method registers a new user using a Google One Tap credential, enabling one-click sign-up without redirecting to a separate page.

Check `screen.googleOneTapConfig` before rendering the Google One Tap prompt — it is `null` when the feature is not enabled server-side.

```typescript Example theme={null}
import SignupId from '@auth0/auth0-acul-js/signup-id';
const signupIdManager = new SignupId();
signupIdManager.googleOneTap({ one_tap_credential: credential });
```

**Method Parameters**

**Parameters**

**one\_tap\_credential** `string` *required*

The Google One Tap credential token returned by the Google Identity Services prompt.

**pickCountryCode** `Promise\<void\>`

This method redirects the user to the country code selection list, where they can update the country code prefix for their phone number.

```typescript Example theme={null}
import SignupId from '@auth0/auth0-acul-js/signup-id';
const signupIdManager = new SignupId();
signupIdManager.pickCountryCode();
```

**signup** `Promise\<void\>`

This method handles `signup-id` related configuration. It allows signing up new users via different identifiers.

```typescript Example theme={null}
import SignupId from '@auth0/auth0-acul-js/signup-id';
const signupIdManager = new SignupId();
signupIdManager.signup({
  email: 'test@example.com',
});
```

**Method Parameters**

**Parameters**

**options**

[SignupOptions](/docs/docs/libraries/acul/js-sdk/Screens/interfaces/SignupOptions).

**email?** `string`

The user's email.

**username?** `string`

The user's identifier.

**phone?** `string`

The user's phone number.

**phoneCountryCode?** `string`

The ISO 3166-1 alpha-2 country the user selected for `phone` (for example, `'US'`), from a `code` in `countryCodes.available`. The submitted country is authoritative — the server prefixes its dial code, so `phone` should be the national number without a dial code. Omit it to keep the existing behavior, where the server derives the country itself and `pickCountryCode()` changes the selection on a separate screen.

**captcha?** `string`

The captcha code or response from the captcha provider. This property is required if your Auth0 tenant has [Bot Detection](/docs/docs/secure/attack-protection/bot-detection) enabled.

**\[`key`: `string`]** `"string" | "number" | "boolean" | "undefined"`

Additional custom fields prefixed with `ulp-` (for example, `'ulp-custom-field'`).

**validateUsername** `[UsernameValidationResult](/docs/libraries/acul/js-sdk/Screens/interfaces/UsernameValidationResult)`

This method validates a given username against the current username policy defined in the transaction context. It returns an object indicating whether the username is valid and why.

```typescript Example theme={null}
import SignupId from '@auth0/auth0-acul-js/signup-id';
const signupIdManager = new SignupId();
const result = signupIdManager.validateUsername('myusername');
// result => { valid: true, errors: [] }
```

**Method Parameters**

**Parameters**

**username** `string` *required*

The username string to validate.
