Sharing is caring!
Salesforce is evolving its approach to application integrations with the introduction of External Client Apps (ECAs), marking an important shift in how businesses connect external applications with their Salesforce environments.
With the Spring ’26 release, Salesforce has disabled the creation of new Connected Apps by default across all organizations, both through the user interface and APIs. While existing Connected Apps continue to function, External Client Apps are now the recommended approach for building new integrations.
This change is more than a platform update. It reflects Salesforce’s focus on stronger security, better access management, and a more structured integration framework.
For businesses relying on Salesforce integrations, understanding this transition is essential to maintaining operational continuity and preparing for future platform changes.
What Has Changed with Salesforce Connected Apps in Spring ’26?
Connected Apps have traditionally enabled external applications to communicate securely with Salesforce through authentication and authorisation protocols such as OAuth, SAML and OpenID Connect.
However, Salesforce is gradually moving away from this traditional framework.
What this means in practice:
- Existing Connected Apps: Continue functioning without disruption and remain editable, installable and deletable.
- New Integrations: Must use External Client Apps for Salesforce CLI, middleware, CI/CD and third-party tools.
- Temporary Exception: New Connected App creation requires Salesforce Support approval and admin enablement.
- Future Direction: Salesforce is moving towards replacing Connected Apps with External Client Apps.
What Are External Client Apps?
External Client Apps are Salesforce’s next-generation framework for managing integrations between Salesforce and external applications.
They provide similar authentication and authorisation capabilities to Connected Apps but introduce a more structured approach to configuration, security and application management.
Some of their key advantages include:
Stronger Security by Default
External Client Apps follow a closed-by-default security model. Administrators must explicitly approve access before an application can connect to Salesforce. This provides better control over which applications can access organisational data.
Separate Developer and Administrator Controls
ECAs separate application settings from security policies. Developers can configure OAuth settings, callback URLs and authentication flows, while administrators manage user access, IP restrictions and session policies.
Better Packaging and Deployment
External Client Apps support second-generation managed packaging (2GP), allowing businesses and developers to distribute applications more efficiently.
Improved Metadata Management
Their separate settings and policy metadata make it easier to manage configurations through source control and CI/CD pipelines.
Together, these capabilities offer businesses a more organised and manageable integration framework.
Connected Apps vs External Client Apps: Key Differences
Although both frameworks support Salesforce integrations, there are important differences businesses should understand.
|
Capability |
Connected App |
External Client App |
|
Create new in Spring ’26 and later |
Only after Support enables it |
Yes (default path) |
|
OAuth Web Server, User-Agent, Refresh Token flows |
Yes |
Yes |
|
OAuth JWT Bearer, Client Credentials, Device, Token Exchange flows |
Yes |
Yes |
|
OAuth Username-Password flow |
Yes (not recommended) |
No |
|
OAuth SAML Bearer Assertion flow |
Yes |
No |
|
SAML and OpenID Connect single sign-on |
Yes |
Yes |
|
Default security posture |
Open until restricted (API Access Control available) |
Closed until allowed |
|
Settings vs policies |
One definition |
Separate: developer settings, admin policies |
|
Packaging |
1GP and 2GP (2GP needs manual steps) |
2GP only; local or packaged |
|
Copied on sandbox clone or refresh |
Yes |
Only packaged ECAs |
|
Canvas apps, mobile PIN, push notifications, user provisioning |
Yes |
Historically no; Salesforce is closing these gaps release by release, so check your current release notes |
|
Custom Apex handler for app launch |
Yes |
No |
|
Restrict by profile or permission set |
Yes |
Yes (permission sets recommended) |
|
Rotate consumer key and secret |
Yes |
Yes |
|
One-click migration available |
Source |
Target (one-way) |
Sources: Salesforce developer documentation and vendor migration guides listed at the end.
How to Create an External Client App in Salesforce
This walkthrough sets up the most common new case: middleware that calls Salesforce APIs with the OAuth 2.0 Client Credentials flow, with no user logging in.
Before you start: your user needs the Create, Edit, and Delete External Client Apps permission, and you should have a dedicated integration user with an API-only permission set.
Step 1 – Start a new External Client App
Go to Setup → App Manager and click New External Client App.
Step 2 – Fill in Basic Information and OAuth settings
- Enter the External Client App Name; the API Name fills in automatically.
- Add a Contact Email and a short description.
- Set Distribution State to Local for an app used only in this org, or Packaged if it will ship in a 2GP managed package.
- Under API (Enable OAuth Settings), tick Enable OAuth, enter a Callback URL, and move the scopes you need, typically Manage user data via APIs (api) and, if refresh tokens are used, Perform requests at any time (refresh_token, offline_access).
Step 3 – Enable the flow and set security
Under Flow Enablement, tick Enable Client Credentials Flow. Leave the other flows off unless you need them. In Security, keep the secret required for the Web Server and Refresh Token flows and keep PKCE on for supported flows. Click Create.
Step 4 – Set the policies (admin)
Open the app from Setup → External Client Apps → External Client App Manager and edit the Policies tab:
- Permitted Users: Admin approved users are pre-authorized.
- Select Permission Sets: add the integration permission set (prefer permission sets over profiles).
- IP Relaxation: Enforce IP restrictions if your middleware has fixed IPs.
- Client Credentials Flow – Run As: the integration user whose permissions the app inherits.
- Refresh token and session timeout: as short as your integration allows.
Step 5 – Get the consumer key and secret
On the Settings tab, click Consumer Key and Secret, complete identity verification, and store both values in your middleware secret store, never in source control. New apps can take up to about 10 minutes to become active, so wait before your first test call.
Step 6 – Test and monitor
Request a token from https://YOUR-DOMAIN.my.salesforce.com/services/oauth2/token with grant_type=client_credentials, call one API, then confirm the login under Setup → Login History for the integration user.
How to Migrate Existing Connected Apps to External Client Apps
Salesforce provides a built-in migration option that allows eligible Connected Apps to be converted into External Client Apps.
However, this migration is a one-way process. Once completed, the new External Client App cannot be converted back into a Connected App.
Step 1: Review Existing Connected Apps
Identify the Connected Apps currently in use and check their authentication flows, dependencies and third-party integrations.
Applications using unsupported flows, such as Username-Password, cannot be migrated without redesigning their authentication approach.
Step 2: Check Compatibility
Confirm that the authentication flow is supported by External Client Apps. Also, check whether the third-party tools and vendors connected to the application support ECAs.
Step 3: Perform the Migration
Navigate to Setup → App Manager, open the eligible Connected App and select Migrate to External Client App.
Step 4 – Verify Credentials
- A new External Client App is created from the connected app’s configuration.
- The original connected app stays visible in App Manager as a read-only entry; all further changes happen in the ECA.
- The ECA can’t be converted back to a connected app.
- Credentials: vendor guides differ on whether the consumer key and secret carry over or are regenerated. Open the new ECA’s Consumer Key and Secret, compare them, and update every system that uses them before you call the migration done.
- At least one vendor guide reports that deleting the new ECA reactivates the original connected app with its settings intact; treat that as a rollback to verify in a sandbox, not a guarantee.
Step 5 – Test & Control
Run each integration once, confirm Setup → Login History shows logins through the new app, watch error logs for a few days, then remove what is no longer needed.
Common Challenges Businesses Should Prepare For
Most failed migrations come from the same seven issues, and all of them are cheap to catch in a sandbox.
Trap | What goes wrong | How to avoid it |
Sandbox refresh | Local ECAs are not copied when a sandbox is cloned or refreshed; only packaged ECAs are | Keep ECA metadata in source control and redeploy it after each refresh |
Username-password flow | ECAs don’t support it, so the integration breaks or can’t migrate | Move to Client Credentials (server-to-server) or JWT Bearer before migrating |
SAML Bearer Assertion flow | Not available in ECAs | Redesign to JWT Bearer or Token Exchange |
Third-party tools | Some products still require a connected app (one data connector’s docs say its Pardot reader doesn’t support ECAs) | Check each vendor’s ECA support before migrating its app |
Credentials after migration | Integrations keep the old key and secret and start failing | Compare keys after migration and update every consumer in the same change window |
Activation delay | First calls fail right after creation | Allow up to about 10 minutes before testing |
Profiles everywhere | Access tied to profiles is hard to audit | Assign access through permission sets; profiles are supported mainly for migration |
Building a Practical Migration Strategy
Moving to External Client Apps should be treated as a planned technical initiative rather than a simple configuration change.
Organisations can approach the transition through the following steps:
- Inventory: Identify all active Connected Apps, their owners, authentication methods and dependent systems.
- Evaluate: Decide whether each application should be retired, redesigned, migrated or temporarily retained.
- Prepare: Set up dedicated integration users, review permissions and organise ECA metadata in source control.
- Test: Rebuild or migrate applications in a sandbox and validate their end-to-end functionality.
- Deploy: Move approved configurations to production during a planned change window.
- Monitor: Review login activity, integration logs and authentication errors after deployment.
- Document: Maintain records of application ownership, authentication flows, access policies and credential rotation schedules.
Audit checklist
- ☐ Every connected app has a named owner and a decision (retire, redesign, vendor, migrate)
- ☐ No integration still uses the username-password flow
- ☐ Integration users use permission sets, not profiles, for access
- ☐ ECA metadata is in source control and redeployed after sandbox refreshes
- ☐ Consumer secrets are stored in a vault and have a rotation date
- ☐ Third-party vendors have confirmed ECA support
- ☐ Login History shows the new apps in use before old ones are removed
Real-world example: a partner portal designed in 2026
On a recent Experience Cloud partner portal design for an industrial manufacturer, every inbound integration became an ECA from day one, and two connections didn’t need one at all.
Connection | Direction | What we used | Why |
ERP middleware upserting customers, assets and orders | Into Salesforce | ECA, Client Credentials flow, dedicated integration user | Server-to-server, no user login; run-as user limits access |
CI/CD pipeline deploying metadata | Into Salesforce | ECA, JWT Bearer flow | Certificate-based, no stored password |
Single sign-on from the portal into partner apps (spare parts catalogue, training) | Salesforce as identity provider | ECA with SAML or OpenID Connect | Salesforce authenticates the user for the other app |
Partner login through the company identity provider | Salesforce as service provider | SAML single sign-on settings, not an ECA | The external IdP authenticates; Salesforce only trusts it |
Pump-selection engine called from Apex | Out of Salesforce | Named Credential and External Credential, not an ECA | ECAs govern apps calling into Salesforce, not callouts going out |
Conclusion
Salesforce’s transition from Connected Apps to External Client Apps represents an important step towards more secure, structured and manageable integrations.
Although existing Connected Apps continue to operate, businesses should not postpone reviewing their integration environments. Understanding authentication compatibility, strengthening access controls and testing migration procedures will be essential to preparing for the change.
By adopting External Client Apps for new integrations and developing a clear migration strategy for existing applications, organisations can build a more secure and scalable Salesforce integration environment.
Frequently Asked Questions (FAQs)
Will my existing connected apps stop working?
Not today. Existing connected apps keep working and can still be edited, installed, and deleted. Salesforce’s direction is to replace them, so plan the move rather than wait for a deadline.
Can I still create a connected app if I really need one?
Only if Salesforce Customer Support enables the org permission; then an admin can turn on Allow creation of connected apps in External Client App Settings. Treat this as a short-term bridge.
Does Salesforce CLI need a connected app?
The CLI prefers an ECA. Salesforce’s CLI guide keeps connected-app instructions only until the requirement for certain sandbox and scratch-org scenarios is removed.
What replaces the username password flow?
Client Credentials for server-to-server integrations, or JWT Bearer where you want certificate-based authentication for a specific user.
Why did my ECA disappear after a sandbox refreshed?
Local ECAs aren’t copied on refresh; only packaged ones are. Redeploy local ECAs from source control after each refresh.
Do I need an ECA for Named Credentials and Apex callouts?
No. ECAs control apps that call into Salesforce. Outbound callouts use Named Credentials and External Credentials.
Can I go back after migrating?
No. The converter is one-way; the connected app remains only as a read-only entry.











