Skip to main content
Class implementing the organization-selection screen functionality. This screen allows users to select an organization to continue with.
Example
import OrganizationSelection from '@auth0/auth0-acul-js/organization-selection';

const organizationSelection = new OrganizationSelection();
await organizationSelection.continueWithOrganizationName({
  organizationName: 'testOrganizationName',
});

Constructors

OrganizationSelection
Constructor
Creates an instance of OrganizationSelection screen manager.

Properties

branding
client
organization
prompt
screen
The screen properties.
tenant
transaction
untrustedData
user
screenIdentifier
string
Screen identifier for validation and telemetry

Methods

continueWithOrganizationName
Promise<void>
Continues with the selected organization name.
Example
import OrganizationSelection from '@auth0/auth0-acul-js/organization-selection';

const organizationSelection = new OrganizationSelection();
await organizationSelection.continueWithOrganizationName({
  organizationName: 'testOrganizationName',
});
getErrors
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.