With Salesforce Identity Embedded Login, you can integrate Salesforce login capabilities
into your own external website. When customers access your external website, they see a login
form that prompts them to enter a username and password. Depending on the use case, you can use
Embedded Login as a single sign-on (SSO) alternative for your external webpages. Or use Embedded
Login to add a layer of authentication to purchases by requiring customers to log in
first.
Required Editions
Available in: both Salesforce Classic
and Lightning Experience
Available in: Professional, Enterprise, Unlimited, and
Developer Editions
Warning In Summer ’24, Salesforce made Embedded Login disabled by default. We
recommend that you use the web server flow, the user-agent flow, or another
redirect-based OAuth 2.0 flow instead of Embedded Login.
Embedded Login relies on
third-party cookies, which are blocked or restricted in most browsers. And Embedded Login
works only on Google Chrome and only as long as third-party cookies are allowed there by
default.
Configure embedded login for these use cases.
Require Authentication to Access Your Site
If your external website doesn’t support SSO, use embedded login to require customers to
log in before accessing your external website. For example, when customers visit your
external website, they see a login button embedded on the webpage. The customer enters their
Salesforce credentials in the login form. Salesforce authenticates them, allowing them to
access your webpage.
Require Authentication for Purchases
Similarly, you can use embedded login to add a login button to the page with your shopping
cart. Customers are then required to authenticate before they can make a purchase. For
example, they add items to their shopping cart. Before they make a purchase, they enter a
username and password, adding a layer of authentication to your external shop.
Embedded Login in Action Let’s see what website visitors experience when you add login capabilities to a web page with Embedded Login.
How to Implement Embedded Login Adding Embedded Login to a web page requires coordination between the Salesforce admin who manages the Experience Cloud site and the web developer who builds the web page.
Implement Embedded Login Let’s add Embedded Login to a web page on your website. To do so, follow the steps outlined here.
Embedded Login Advanced Features Embedded Login takes care of authenticating users so that you can add login capabilities to a web page without worrying about the details. You can also take advantage of the advanced features that Salesforce offers.
We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required Cookies
Always Active
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional Cookies
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising Cookies
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.