LoginActivity
Login activity authenticates a user. Authorization happens inside a web view.
Support for Salesforce Welcome (WSC) Discovery is provided. If the activity is started with a valid WSC Discovery URL in the intent data, the web view will display WSC Discovery. The activity will return the user to default log in with the selected login hint and My Domain login server after completing the WSC Discovery flow. In addition to WSC Discovery, the activity may be started using intent extras for login hint and My Domain login server. See the extra key constants provided by the activity.
Once an authorization code is obtained, it is exchanged for access and refresh tokens to create an account via the account manager which stores them.
Types
Properties
Functions
Launches the current login server in a Custom Tab. This allows Admins to authenticate with a Passkey or by other methods that require Advanced/Browser Authentication.
Automatically log in with a UI Bridge API front door bridge URL and PKCE code verifier.
Automatically log in using a QR code login URL and Salesforce Identity API UI Bridge.
Called when the IDP login button is clicked.