login screen functionality. This screen collects the user’s identifier and password. Depending on your tenant, this identifier can be an email, phone number, or username. It also supports authentication via federated identity providers and Google One Tap.

Constructors
Create an instance of Login screen manager:Example
Properties
Provides branding-related configurations, such as branding theme and settings.
Provides client-related configurations, such as
id, name, and logoUrl, for the login screen.Provides information about the user’s Organization, such as
id and name.Contains data about the current prompt in the authentication flow.
Contains details specific to the
login screen, including its configuration and context.Contains data related to the tenant, such as
id and associated metadata.Provides transaction-specific data for the
login screen, such as active identifiers and flow states.Handles untrusted data passed to the SDK, such as user input during login.
Details of the active user, including
username, email, and roles.Methods
This method changes the display language of the Universal Login page.Method Parameters
Example
This method redirects the user to the Social or Enterprise Identity Provider (IdP) for authentication.Method Parameters
Example
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.
This method returns the active identifier types for the
login screen.Example
This method authenticates the user based on the identifier and provided password.Method Parameters
Example
This method authenticates the user using a Google One Tap credential, enabling one-click sign-in without redirecting to a separate login page.Check Method Parameters
screen.googleOneTapConfig before rendering the Google One Tap prompt — it is null when the feature is not enabled server-side.Example
This method redirects the user to the country code selection list, where they can update the country code prefix for their phone number.
Example