Migrate to OAuth Flows
Salesforce has disabled the creation of connected apps and announced the retirement of the SOAP API login() method. As a result, Resource Owner Password Credentials (ROPC) and Salesforce Username Password Policy are no longer supported for establishing new connections.
You must migrate to OAuth-based authentication using external client apps to ensure uninterrupted connectivity.
Reason to Migrate Resource Owner Password Credentials (ROPC)-Based Connections
Salesforce has disabled the creation of new connected apps and will also deprecate the Resource Owner Password Credentials security policy in the near future. Resource Owner Password Credentials security policy connections using the existing connected apps are only supported until the Winter 2027 release.
Integrations using Resource Owner Password Credentials-based Salesforce connections must be migrated to a Salesforce Adapter connection that does not rely on connected apps. Failure to complete this migration before the deadline may result in integration disruption.
Reason to Migrate Username Password Policy-Based Connections
Salesforce has announced the retirement of the SOAP API login() method in API versions 31.0 through 64.0 with the Summer 2027 release. Additionally, the login() method is not available in API version 65.0 and later. As a result, Salesforce Username Password policy is no longer supported for new connections created with API version 65 or later.
Integrations using Salesforce Adapter connections configured with the Username Password policy must be migrated to OAuth-based authentication using External Client Apps before the Summer ’27 release. Failure to complete this migration before the deadline may result in authentication failures and integration disruption.
Note:
Details are provided on the Salesforce web site. See Platform SOAP API login() Retirement.Migration Steps
- Eligibility Criteria for Migrating a Connected App to an External Client App
- Steps to Migrate the Existing Connected App to an External Client App
- Create or Update the Salesforce Adapter Connection
- Replace an Existing Resource Owner Password Credentials or Salesforce Username Password Policy-Based Connections in Your Integration
- Refresh Integration Endpoints and Activate the Integration
Eligibility Criteria for Migrating a Connected App to an External Client App
- You must have Create, Edit, and Delete External Client App permissions through the System Administrator profile or a custom permission set.
- The app must not depend on the OAuth 2.0 username-password flow because that flow is not supported for external client apps.
- Your organization must use a Salesforce edition that supports external client apps, such as the Professional, Performance, Unlimited, or Developer Edition.
Steps to Migrate the Existing Connected App to an External Client App
Note:
If the connected app is not eligible for migration, create a new external client app and configure it for the required OAuth flow. See Configure the OAuth – External Client App in Salesforce and Configure Client Credential Flow Security Policies for External Client Apps.Create or Update the Salesforce Adapter Connection
Once you have created a new client app or converted an existing connected app into an external client app, you can either set up a new Salesforce Adapter connection or update the existing one to use the Authorization Code Credentials or Client Credentials security policy. See Create a Connection.
Replace an Existing Resource Owner Password Credentials or Salesforce Username Password Policy-Based Connections in Your Integration
- Go to the location of the integration to edit.
- In a project:
- In the navigation pane, click Projects.
- Select the project name.
- Click Integrations
.
- In the Integrations section, select the integration currently using the Resource Owner Password Credentials or Salesforce Username Password Policy connection.
- Outside a project:
- In the navigation pane, click Design, then Integrations.
- Select the integration currently using the Resource Owner Password Credentials or Salesforce Username Password Policy connection.
- In a project:
- If you have created a new Salesforce Adapter connection, click Actions
, then select Configure.
- In the Configuration Editor, select the Salesforce Adapter connection, and click Replace.
- Click Save.
- If you have updated the Salesforce Adapter connection, click Save & reactivate to reactivate the integration.
Refresh Integration Endpoints and Activate the Integration
- Go to the location of the integration to refresh and activate.
- In a project:
- In the navigation pane, click Projects.
- Select the project name.
- Click Integrations
.
- In the Integrations section, find the integration to refresh.
- Outside a project:
- In the navigation pane, click Design, then Integrations.
- Find the integration to refresh.
- In a project:
- Select the integration.
- Click Actions
, then select Refresh Endpoints.
A confirmation message indicates a successful refresh.
- Once the refresh is successful, activate the integration.