You are here:
Prerequisites: Configure Your Experience Cloud Site and Website
Before you implement Embedded Login, you need an Experience Cloud site and your own website.
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.
For your Experience Cloud Site, use the site that you created earlier in this guide. If you haven’t created a site yet, you can complete the Identity for Customers Trailhead module. You can create your site and earn a badge while you’re at it.
Before you add Embedded Login, make sure that your site works by testing various login scenarios. For example, can Experience Cloud users log in with their username and password? Can visitors join the site? Can users log in through all the social authentication providers that you set up?
If you configured your site to use the discoverable login page type or any other custom login page type, you can apply that page type to Embedded Login. If you don’t want to apply your site login page type, the default login page type for Embedded Login is username and password. For more information about login page types, see Prerequisites: Configure Your Experience Cloud Site and Website.
- From Setup, enter Digital Experiencea in the Quick Find box, then select Settings.
- Under Embedded Login, select Apply Login Page Type to Embedded Login to apply your site’s login page type to your Embedded Login configuration.
- Select Block Redirect to Unknown URL to block redirects to unknown URLs that are provided in the state parameter of the OAuth response during a server-side callback. Redirects are allowed when the URL is in the same host or domain as the site, or is allow-listed in the Embedded Login salesforce-allowed-domains meta tag.
- Save your changes.
Use your own website to add login capabilities to a web page.
- Enable Embedded Login
Embedded Login is disabled by default on all new sites. To use Embedded Login, enable the option on your Experience Cloud site.

