Enable Embedded Login

Although Salesforce doesn’t recommend it, if you must use Embedded Login with your Experience Cloud Site, you can enable it on the Login & Registration page. In Summer ’24, Salesforce disabled Embedded Login by default to encourage users to move to OAuth 2.0 Web Server Flow or OAuth 2.0 User-Agent Flow.

Where: This change applies to Lightning communities accessed through Lightning Experience and Salesforce Classic (not available in all orgs) in Professional, Enterprise, Performance, Unlimited, and Developer editions.

Why: 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.

How: To use Embedded Login on your Experience Cloud Site, enable the feature on the Login & Registration page. From Setup in the Quick Find Box, enter Digital Experiences, and then select All Sites. In the Digital Experiences picklist, select Workspaces and then click Administration. On the Login & Registration tab select Allow embedded login on your Experience Cloud site.

https://help.salesforce.com/s/articleView?id=release-notes.rn_security_enable_embedded_login.htm&release=250&type=5