Add a Dynamic Login Experience to Auth. Provider URLs

Deliver a different registration process depending on runtime circumstances with your community and authentication provider for social sign-on.
Available in: Professional, Enterprise, Performance, Unlimited, and Developer Editions

For example, Italian-speaking users who sign up to a community with their Facebook credentials go through a different registration process than Spanish-speaking Facebook users.

To use dynamic branding, you add the expid request parameter to the client configuration SSO initialization URL or Existing User Linking URL. The expid parameter identifies where the user is coming from, in this case, Spanish-speaking Facebook users: https://login.salesforce.com/services/auth/sso/00Di0000000hqQ8EAI/FB?expid=sp.

This release introduces experience ID support for authentication provider endpoints. These login endpoints support expid.

  • community-url/services/oauth2/authorize/expid_value
  • community-url/idp/endpoint/HttpPost/expid_value
  • community-url/idp/endpoint/HttpRedirect/expid_value
  • community-url_login_page?expid={value}
  • community-url/CommunitiesSelfReg?expid={value}
  • community-url/.well-known/auth-configuration?expid={value}
  • secur/forgotpassword.jsp?expid={value}