Newer Version Available

This content describes an older version of this product. View Latest

Custom Login Flows

You can use a login flow to introduce business processes during login, such as to prompt for a second factor of authentication, accept terms of services, or collect information from users. After users complete the login flow, they’re logged in to Salesforce.
Available in: both Salesforce Classic and Lightning Experience
Available in: Enterprise, Performance, Unlimited, and Developer Editions

Use the Cloud Flow Designer to create a flow. Then designate the flow as a login flow and associate it with specific profiles in your org. Users with the profile are directed to the login flow after they authenticate but before they can access your org. The login flow screens are embedded within the standard Salesforce login page for an integrated user login experience.

Example of a user's Login Flow
Login flows support all the Salesforce UI authentication methods, including username and password, delegated authentication, SAML single sign-on, and social sign-on through a third-party authentication provider. You can apply login flows to Salesforce orgs and communities.

You can’t apply login flows to API logins or when sessions are passed to the UI through frontdoor.jsp from a non-UI login process. Only flows of type Flow are supported.

Note