---
schema_version: "1"
id: bf35478e4abe3ddef273219ec2ec6bc5214a43434bff35cd98415710aeee72d9
title: Determine the Required Authentication Updates After a My Domain Change
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/xcloud/264-0-0/domain_name_auth_update_determine.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.domain_name_auth_update_determine.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: a086021175cc4fb937248daede1b020f10a420af1cc81f60396e9d57b3cbc0a6
description: If your My Domain login URL or site URL changes, authentication updates are required. Determine whether these changes apply to your My Domain change. Then understand the types of updates required.
products:
  - Salesforce Platform
  - Cross Cloud
release: "264"
---
# Determine the Required Authentication Updates After a My Domain Change

If your My Domain login URL or site URL changes, authentication updates are required. Determine whether these changes apply to your My Domain change. Then understand the types of updates required.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: both Salesforce Classic and Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>Group</strong>, <strong>Essentials</strong>, <strong>Professional</strong>, <strong>Enterprise</strong>, <strong>Performance</strong>, <strong>Unlimited</strong>, and<strong> Developer</strong> Editions</td></tr></tbody></table>

## Connections to Salesforce

When you deploy a My Domain change, all connections to Salesforce are reset. Active user sessions are terminated and security tokens are revoked.

After you deploy the My Domain change, users are required to log in to Salesforce again. If a feature that connects to Salesforce stops working, the user can reauthenticate. For example, in Salesforce CLI, use [force:org:open](https://developer.salesforce.com/docs/atlas.en-us.sfdx_cli_reference.meta/sfdx_cli_reference/cli_reference_force_org.htm#cli_reference_force_org_open) to log in again. Also, after you deploy a My Domain change, functionality delivered by a managed package can require that you log in again. For example, if you use [Declarative Lookup Rollup Summaries (DLRS)](https://install.salesforce.org/products/dlrs/latest), access the summary tool after you deploy your My Domain change and reestablish your connection.

We recommend that you notify your users about this behavior before and after a My Domain change. For more information, see [Notify Users and Customers About a My Domain Change](https://help.salesforce.com/s/articleView?id=xcloud.domain_name_plan_comms.htm&release=264.0.0&type=5 "A My Domain change can impact users who log in to your Salesforce org, and it can impact external users, such as visitors to your Experience Cloud sites. Review recommendations about communicating to these groups before and after you deploy the change.").

## Determine Whether Your Change Requires an Authentication Update

If you make one of these changes, your My Domain login URL changes and authentication methods can fail.

- Renaming your My Domain.
- Changing your My Domain suffix.
- Sandboxes only: enabling enhanced domains.
- Enabling or disabling partitioned domains in a Developer Edition org, scratch org, patch org, demo org, free org, or Trailhead Playground.

If you make one of these changes, your Experience Cloud site or Salesforce Site URL changes and authentication methods for your site can fail.

- Enabling enhanced domains.
- Renaming your My Domain in an org with enhanced domains.
- Enabling or disabling partitioned domains in a Developer Edition org, scratch org, patch org, demo org, free org, or Trailhead Playground.

Authentication against your site login URL is affected 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 the corresponding single sign-on (SSO) configuration and MFA verification methods aren’t affected.

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-setup-264-0-0-production-enus/6f21df35-9ea0-4f53-ac94-45c3b5dfd5bc/images/icon_note.png)

Note A change to your My Domain login URL or site URL requires updates to your org beyond authentication methods and settings. For details, see [Update Your Org for My Domain Changes](https://help.salesforce.com/s/articleView?id=xcloud.domain_name_guidelines.htm&release=264.0.0&type=5 "When you deploy a change your My Domain, your Salesforce org’s login URL and application URLs change. URLs that are dynamically constructed—for example, URLs generated via the DomainCreator Apex class—use the new URLs automatically. However, some Salesforce functionality requires an update to work with your new URLs. Similarly, custom code, your network configuration, and third-party integrations that use the old URLs require updates. To ensure a smooth transition to your new URLs, update references to your old URLs.").

## Named Credentials

To simplify the setup of authenticated callouts, you can use a named credential as the callout endpoint. The named credential specifies the URL of a callout endpoint and its required authentication parameters.

When your My Domain login URL or site login URL changes, named credentials that use that URL stop working. To reestablish the impacted authentication callouts, update the URL field for the affected named credentials. For more information, see [Update Named Credentials After a My Domain Change](https://help.salesforce.com/s/articleView?id=xcloud.domain_name_auth_update_named_credentials.htm&release=264.0.0&type=5 "To simplify the setup of authenticated callouts, you can use a named credential as the callout endpoint. When your My Domain login URL or site login URL changes, named credentials that use that URL stop working. Because DevOps Center uses named credentials, you can’t access DevOps Center environments when the org’s My Domain login URL changes. To reestablish the impacted authentication callouts, update the URL field for the affected named credentials.").

## Impacted Authentication Methods

When your My Domain login URL or site URL changes, authentication methods such as SSO and multi-factor authentication (MFA) can stop working.

To preserve access to Salesforce and prevent end-user frustration, verify backup methods and communicate to your users before you deploy the change. For more information, see [Preserve Login Access During a My Domain Login URL Change](https://help.salesforce.com/s/articleView?id=xcloud.domain_name_login_change_preserve_access.htm&release=264.0.0&type=5 "When your My Domain or site login URL changes, two multi-factor authentication (MFA) verification methods stop working: built-in authenticators and security keys. Without those methods, single sign-on (SSO) can also stop working. To preserve admin access to Salesforce and prevent end-user frustration, verify your backup authentication methods. In preparation for your My Domain change, determine the post-deployment steps to reestablish authentication for your org, including resetting the affected verification methods for your users.").

When Salesforce acts as the service provider, authentication is delegated via an identity provider (IdP). If your My Domain login URL or site URL changes, work with your IdP to update your configuration to allow these methods to authenticate against the new URL. These changes can only be made after you deploy the change to your My Domain.

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col style="width:22.22222222222222%">
          <col style="width:33.33333333333333%">
          <col style="width:44.44444444444444%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d171264e217">Method</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d171264e220">Example</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d171264e223">How to Detect Whether This Method Is In Use</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="Method" class="slds-cell-wrap" style="vertical-align:top;" headers="d171264e217 ">
              <a href="https://help.salesforce.com/s/articleView?id=xcloud.sso_saml_setting_up.htm&amp;type=5&amp;language=en_US" target="_blank">SAML SSO with Salesforce as the Service
                Provider</a>
            </td>

            <td data-label="Example" class="slds-cell-wrap" style="vertical-align:top;" headers="d171264e220 ">Authentication is delegated to a third-party identity provider such as Okta,
              OneLogin, Azure, or another Salesforce org.</td>

            <td data-label="How to Detect Whether This Method Is In Use" class="slds-cell-wrap" style="vertical-align:top;" headers="d171264e223 ">
              <p>From Setup, in the Quick Find box, enter <kbd>Single Sign-On</kbd>,
                and then select <strong class="uicontrol">Single Sign-On Settings</strong>. </p>
              <p>Active records
                exist in the SAML Single Sign-On Settings table.</p>
              <p style="margin-bottom:0;">If you’re not sure whether
                a given SAML Single Sign-On setting or Auth. Provider record is in use, review
                your <a href="https://help.salesforce.com/s/articleView?id=xcloud.users_login_history.htm&amp;type=5&amp;language=en_US" target="_blank">login history</a>.</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Method" class="slds-cell-wrap" style="vertical-align:top;" headers="d171264e217 ">Salesforce acts as the service provider for single sign-on (SSO) via an <a href="https://help.salesforce.com/s/articleView?id=xcloud.sso_authentication_providers.htm&amp;type=5&amp;language=en_US" target="_blank">Authentication Provider or OpenID Connect</a>
            </td>

            <td data-label="Example" class="slds-cell-wrap" style="vertical-align:top;" headers="d171264e220 ">Authentication is delegated to a third-party identity provider such as Google,
              Facebook, or a third party that operates over the OpenID Connect protocol. Or
              authentication is delegated to a custom authentication provider that supports OAuth
              2.0.</td>

            <td data-label="How to Detect Whether This Method Is In Use" class="slds-cell-wrap" style="vertical-align:top;" headers="d171264e223 ">
              <p>From Setup, in the Quick Find box, enter <kbd>Auth.
                  Providers</kbd>, and then select <strong class="uicontrol">Auth.
                  Providers</strong>.</p>
              <p style="margin-bottom:0;">Active Auth. Provider records exist that aren’t
                Salesforce Managed. As a reminder, Salesforce Managed Auth. Providers aren’t
                recommended.</p>
            </td>

          </tr>
        </tbody>
      </table>

For instructions on how to update your IdP in these cases, see [Update Your SAML SSO IdP Configuration After a Login or Site URL Change](https://help.salesforce.com/s/articleView?id=xcloud.domain_name_auth_update_idp_saml.htm&release=264.0.0&type=5 "After you deploy a My Domain change that updates your My Domain login URL or site URL, SAML Single Sign-On (SSO) authentication stops working. To allow your users to use this SSO method again, work with your Identity Provider to update your configuration.") and [Update Your Auth Provider or OpenID Connect IdP Configuration After a Login URL Change](https://help.salesforce.com/s/articleView?id=xcloud.domain_name_auth_update_idp_auth_provider.htm&release=264.0.0&type=5 "After you deploy a My Domain change that updates your My Domain or site login URL, OpenID Connect single sign-on (SSO) authentication stops working. OpenID Connect SSO options include Authentication Providers. To allow your users to use this SSO method again, work with your identity provider (IdP) to update your configuration.").

When Salesforce acts as the identity provider, users can log in to an external service provider or relying party with credentials from your Salesforce org. With these methods, if your My Domain or site login URL changes, share the updated endpoints with the third-party service providers to allow them to authenticate against the new URL. These changes can only be made after you deploy the change to your My Domain.

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col style="width:22.22222222222222%">
          <col style="width:33.33333333333333%">
          <col style="width:44.44444444444444%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d171264e323">Method</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d171264e326">Example</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d171264e329">How to Detect Whether This Method Is In Use</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="Method" class="slds-cell-wrap" style="vertical-align:top;" headers="d171264e323 ">
              <a href="https://help.salesforce.com/s/articleView?id=xcloud.sso_sfdc_idp_saml_parent.htm&amp;type=5&amp;language=en_US" target="_blank">Salesforce as a SAML Identity Provider</a>
            </td>

            <td data-label="Example" class="slds-cell-wrap" style="vertical-align:top;" headers="d171264e326 ">Your Salesforce org acts as a SAML identity provider. Users log in to external
              services such as Google Apps with their Salesforce or site credentials.</td>

            <td data-label="How to Detect Whether This Method Is In Use" class="slds-cell-wrap" style="vertical-align:top;" headers="d171264e329 ">
              <p>From Setup, in the Quick Find box, enter <kbd>Identity
                  Provider</kbd>, and then select <strong class="uicontrol">Identity Provider</strong>.
              </p>
              <p><strong class="uicontrol">Enable Identity Provider</strong> is selected.</p>
              <p style="margin-bottom:0;">To view
                the history of outbound usage for Salesforce as an identity provider via SAML,
                <a href="https://help.salesforce.com/s/articleView?id=xcloud.identity_provider_error_log.htm&amp;type=5&amp;language=en_US" target="_blank">use the Identity Provider Event Log</a>.
              </p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Method" class="slds-cell-wrap" style="vertical-align:top;" headers="d171264e323 ">An external client app uses <a href="https://help.salesforce.com/s/articleView?id=xcloud.sso_sfdc_idp_parent.htm&amp;type=5&amp;language=en_US" target="_blank">Salesforce as an Identity Provider</a> through
              OpenID Connect</td>

            <td data-label="Example" class="slds-cell-wrap" style="vertical-align:top;" headers="d171264e326 ">A custom app is integrated as a external client app with OpenID Connect. Your
              users can log in to the custom app with their Salesforce or site
              credentials.</td>

            <td data-label="How to Detect Whether This Method Is In Use" class="slds-cell-wrap" style="vertical-align:top;" headers="d171264e329 ">
              <p>From Setup, in the Quick Find box, enter <kbd>Apps</kbd>, and
                select <strong class="uicontrol">App Manager</strong>.</p>
              <p>View or edit each app. If
                <strong class="uicontrol">Enable OAuth Settings</strong> is selected, then third parties can
                use Salesforce as an identity provider for that app.
              </p>
              <p style="margin-bottom:0;">The <strong class="uicontrol">Enable
                  OAuth Settings</strong> setting only indicates that third parties can use the
                app. To determine whether the app is in use, note the third-party service
                represented by the application. Then work with your partners to determine whether
                they use your Salesforce org as an identity provider or if they reference your My
                Domain or site login URL for OAuth authentication.</p>
            </td>

          </tr>
        </tbody>
      </table>

For instructions on how to update your service provider in these cases, see [Update Service Provider Endpoints After a Login or Site URL Change](https://help.salesforce.com/s/articleView?id=xcloud.domain_name_auth_update_sp.htm&release=264.0.0&type=5 "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.").

## Integrated Logins

Before you deploy the change to your My Domain, visit the corresponding login pages and note the available options.

If your users can authenticate with alternate identity providers or a SAML Single Sign-On (SSO) authentication method from your My Domain login page or Experience Cloud site login page, those authentication methods stop working when the page’s URL changes and can be removed from the page. To restore these authentication methods:

- For each authentication method, update the corresponding authentication service.
    - For alternate identity providers, such as Google, Facebook, or a third party that operates over the OpenID Connect protocol, see [Update Your Auth Provider or OpenID Connect IdP Configuration After a Login URL Change](https://help.salesforce.com/s/articleView?id=xcloud.domain_name_auth_update_idp_auth_provider.htm&release=264.0.0&type=5 "After you deploy a My Domain change that updates your My Domain or site login URL, OpenID Connect single sign-on (SSO) authentication stops working. OpenID Connect SSO options include Authentication Providers. To allow your users to use this SSO method again, work with your identity provider (IdP) to update your configuration.").
    - For SAML Single Sign-On (SSO) authentication methods include Okta, OneLogin, Azure, or another Salesforce org, see [Update Your SAML SSO IdP Configuration After a Login or Site URL Change](https://help.salesforce.com/s/articleView?id=xcloud.domain_name_auth_update_idp_saml.htm&release=264.0.0&type=5 "After you deploy a My Domain change that updates your My Domain login URL or site URL, SAML Single Sign-On (SSO) authentication stops working. To allow your users to use this SSO method again, work with your Identity Provider to update your configuration.").
- Verify the authentication method on the login page. If necessary, readd authentication providers to your login page.
    - For your org’s My Domain login page: [Add an Authentication Provider to Your Org’s Login Page](https://help.salesforce.com/s/articleView?id=xcloud.sso_provider_org_login_page.htm&type=5&language=en_US).
    - For your Experience Cloud site’s login page: [Add an Authentication Provider to Your Experience Cloud Site’s Login Page](https://help.salesforce.com/s/articleView?id=xcloud.sso_provider_customer_add_login_option.htm&type=5&language=en_US).

## Login Page Configuration

We also recommend that you review the Authentication Settings on the My Domain Setup page and your site login page configuration. After you deploy the change, verify that those settings are correct with the new URL. For more information, see [Customize Your My Domain Login Page with Your Brand](https://help.salesforce.com/s/articleView?id=xcloud.domain_name_login_branding.htm&release=264.0.0&type=5 "My Domain gives you a point-and-click way to brand the page that prompts users to log in to your Salesforce org. You can replace the Salesforce logo with your own and change your background and login button colors. You can also display content to the right of your login form. Branding options apply to the entire login experience, including pages for users to verify their identity and reset passwords. They also apply to login flows."), [Brand Your Identity Experience](https://help.salesforce.com/s/articleView?id=experience.external_identity_branding_use_cases.htm&type=5&language=en_US), and [Manage Salesforce Sites Login and Registration Settings](https://help.salesforce.com/s/articleView?id=platform.sites_login_and_registration_settings.htm&type=5&language=en_US).

## DevOps Center

If you use DevOps Center, update the named credentials used to access the DevOps Center environment for your org. For more information, see [Update Named Credentials After a My Domain Change](https://help.salesforce.com/s/articleView?id=xcloud.domain_name_auth_update_named_credentials.htm&release=264.0.0&type=5 "To simplify the setup of authenticated callouts, you can use a named credential as the callout endpoint. When your My Domain login URL or site login URL changes, named credentials that use that URL stop working. Because DevOps Center uses named credentials, you can’t access DevOps Center environments when the org’s My Domain login URL changes. To reestablish the impacted authentication callouts, update the URL field for the affected named credentials.").

#### See Also

- [Update Authentication After a My Domain Change](https://help.salesforce.com/s/articleView?id=xcloud.domain_name_auth_update.htm&release=264.0.0&type=5 "Determine whether your My Domain change requires that you update your authentication settings. Then learn about the authentication settings that can be impacted after a My Domain change and make the required updates. If your My Domain login host name or sites host name changed when you deployed a My Domain change, update your authentication settings.")
- [Monitor Login History](https://help.salesforce.com/s/articleView?id=xcloud.users_login_history.htm&type=5&language=en_US)
- [Use the Identity Provider Event Log](https://help.salesforce.com/s/articleView?id=xcloud.identity_provider_error_log.htm&type=5&language=en_US)