When Salesforce acts as an Identity Provider, users can log in to the external service
provider or relying party with credentials from your Salesforce org. For example, your users log
in to a custom app with their Salesforce credentials or their Experience Cloud site credentials.
When your My Domain or site login URL changes, authentication methods that rely on that URL stop
working. To restore this authentication method for your users, share the updated endpoints with
the third-party service providers.
Required Editions
| Available in: both Salesforce Classic and
Lightning Experience |
| Available in: Group, Essentials, Professional, Enterprise,
Performance, Unlimited, and Developer Editions
|
After you deploy the change that updates your My Domain login URL, work with your Identity
Provider (IdP) to update your IdP configuration with the new authentication values.
These steps also apply after your Experience Cloud site URL or Salesforce Site URL changes,
but only if you use the system-managed site URL to authenticate. System-managed site URLs end in
*.my.site.com for Experience Cloud sites and
*.my.salesforce-sites.com for Salesforce Sites. If you authenticate via a
custom domain such as https://www.example.com that serves your Experience
Cloud site or Salesforce Site, then your SSO configuration is unaffected.
- After you deploy the My Domain change that updates your login or site URL, validate your
configuration with the /.well-known/auth-configuration endpoint
path.
For example, if your My Domain login URL is
https://mycompany.my.salesforce.com, visit
https://mycompany.my.salesforce.com/.well-known/auth-configuration. And
if your site URL is
https://mycompany.my.site.com, visit
https://mycompany.my.site.com/.well-known/auth-configuration.
-
For each service provider that relies on Salesforce as an Identity Provider, determine
whether the external client app uses SAML, OpenID Connect, or OAuth.
-
If the external client app is integrated with SAML, work with the relying party to
update these fields.
- Issuer URL
- Well-known metadata endpoints
-
If the external client app is integrated with OpenID Connect or OAuth, work with the
service provider or relying party to update these fields.
- OAuth endpoints
- Audience for JWT Bearer flow
- After the service provider or relying party updates the required fields, verify the
authentication method by accessing the app with the corresponding Salesforce credentials.