Skip to contentIntroducing the Integration Factory
Back to Blog
Integration

Connected App vs External Client App: Which to Use and How to Migrate

Sunny Chauhan

Build anything new on an External Client App. Salesforce restricted the creation of new Connected Apps in Spring '26, and its Winter '27 release notes say support for Connected Apps ends in Summer '27. A Connected App you already run keeps working, so the real decision is when and how you move it, not which one to pick.

For a SaaS company, that decision is about the integration your enterprise customers already authorize. If your Connected App ships inside a managed package, moving it is a package release that every customer has to install, and it should be planned like one. Appnigma builds this kind of customer-facing Salesforce work for B2B SaaS teams. Our marketplace apps work delivers "a Salesforce managed package or HubSpot app built around your product and customer workflows," and our integration infrastructure handles "app registration and authorization with infra built for the systems your customers use." If you only need to know what an External Client App is and how to create one, the External Client App guide covers that.

Updated October 2026. Checked against Salesforce Help, the Metadata API and ISVforce developer guides, and the Spring '26, Summer '26 and Winter '27 release notes. The earlier version said migration issues a new consumer key, that second-generation packaging only accepts External Client Apps, and that External Client Apps only run the client credentials flow without a user. Salesforce's docs say otherwise on all three. We also removed throughput claims that had no source and added the dated timeline and the managed package migration path.

What actually differs between a Connected App and an External Client App

Both are app records that let an outside system authenticate into Salesforce over OAuth or SAML and call its APIs. Salesforce describes External Client Apps as "the new generation of connected apps" on its feature comparison page, and the Mobile SDK guide says they were "designed to improve security and solve packaging and distribution issues that affect connected apps" (External Client Apps and Connected Apps). The tokens they issue work the same way against the same APIs. The differences sit in ownership, packaging and defaults.

QuestionConnected AppExternal Client App
Can you create a new one?Restricted since Spring '26Yes, the default
Who owns which settingsOne record, developer and admin settings togetherDeveloper owns settings, each org's admin owns policies
Second-generation (2GP) managed packagesRestricted, only by referencing a promoted 1GP versionAvailable
First-generation (1GP) managed packagesAvailableAvailable, only from the org where the app was created
Username-password OAuth flowRetiring, enforced February 20, 2027Not available
User provisioningAvailableNot available

The split in ownership is the change a SaaS vendor feels most. An External Client App keeps its OAuth consumer in a global settings file. That consumer is the key and secret plus the callback URL and the enabled flows, and the file holds "private and sensitive OAuth consumer information that can't be packaged and must not be added to source control" (ExtlClntAppGlobalOauthSettings). Admin policies such as permitted users and the client credentials execution user live in a separate type that represents "the policies configured by the admin" (ExtlClntAppOauthConfigurablePolicies). The same page shows that PKCE (Proof Key for Code Exchange) defaults to required, so a client written for a Connected App without PKCE will fail against a new External Client App until it sends a code challenge.

One thing does not differ. API limits belong to the customer's org, not to the app type. Salesforce enforces them "against the aggregate of all API calls made to the org in a 24-hour period" (API Request Limits and Allocations), so moving to an External Client App does not buy your integration more throughput or more concurrent sessions.

Both app types support user-based flows and system flows. An External Client App can run the web server flow, the JWT bearer flow (its certificate field "enables the JWT Bearer flow"), the client credentials flow and token exchange, according to the global OAuth settings reference. Salesforce CLI itself authorizes orgs through one (Create an External Client App in Your Org).

Are Connected Apps deprecated?

Not formally, but every date on the Connected App side now points one way. Existing Connected Apps keep running, and Salesforce's developer guides repeat the same note: "Connected apps creation is restricted as of Spring '26. You can continue to use existing connected apps during and after Spring '26" (Connected Apps, ISVforce). The dates a SaaS team has to plan around are these.

WhenWhat changesSource
Spring '26New Connected Apps can't be created in Setup or through APIs unless Salesforce Support enables itSpring '26 release note
Summer '26Connected Apps inside 1GP or 2GP managed packages can migrate to packaged External Client AppsSummer '26 release note
May 11, 2026Partner apps in more than two customer production orgs needed PKCE, refresh token rotation, a 30-day idle refresh token limit and a refresh token IP allowlistISVforce Guide
November 4, 2026Idle refresh tokens expire after 30 days in production orgs, for both app typesWinter '27 release note
February 20, 2027Username-password flow retirement for Connected Apps is enforcedWinter '27 release note
February 20, 2027User-agent and hybrid user-agent flows retire for all appsWinter '27 release note
Summer '27Salesforce ends support for Connected AppsWinter '27 release note

End of support is not a shutdown. The Winter '27 note says "Connected apps will keep working, but Salesforce will no longer fix bugs or provide support." For a vendor, that still matters. Once a customer's security team reads that line, an integration built on an unsupported app type becomes a procurement question, and the support exception for creating new Connected Apps is temporary too. Knowledge Article 005228017 says "In future releases, Salesforce Support won't be able to enable" Connected App creation.

Migrating a Connected App you run in your own org

A Connected App created in your own org, for your own back office or for customers who authorize against it without installing a package, moves with Salesforce's migration button. Open the app in App Manager, and if it meets every eligibility rule, "you see the Migrate to External Client App button" (Connected App to External Client App Migration).

The migration is an in-place move, not a rebuild. Salesforce Help says it "preserves your consumer key and secret" and that "refresh tokens remain valid," so systems that authenticate against the app don't need new credentials. The original Connected App stays behind as a read-only record, and Help says not to delete it because "both apps share the same consumer." That record is also your way back. If you delete the new External Client App, "the connected app becomes active again" (Migrate a Connected App).

Some Connected Apps can't use the button. User provisioning or a custom Apex handler makes an app ineligible, and so does Canvas or dynamic client registration. Triple DES SAML encryption blocks it as well, along with standard notification subscriptions on apps that aren't internal. Single sign-on apps can't be migrated, and migration runs only in the Setup UI. Those apps need a new External Client App with a new consumer key, which means a reconnect window for every system that uses them.

The quiet failure is the username-password flow. Help says the migration tool "can't detect username-password flow," and External Client Apps don't support it, so any client still logging in with a username and password stops working after the move. Search your codebase and each customer's integration settings for grant_type=password before you click the button, and move those clients to the JWT bearer or client credentials flow first. Check for the user-agent flow while you are there. Salesforce retires it for all apps on February 20, 2027, so the web server flow with PKCE is the safe target for anything that signs a person in.

Migrating the Connected App inside your managed package

A Connected App that ships inside your managed package is yours to move, not your customers'. Knowledge Article 005228017 puts it plainly. It is "the ISV's (the vendor's) responsibility to provide a migrated ECA version." Since Summer '26 Salesforce lets you "migrate connected apps that are packaged in first-generation or second-generation managed packages." Your customers keep working through it, because "customer OAuth flows, tokens, and active sessions remain valid through package upgrade" (Summer '26 release note).

Customers don't reconnect, but they do have to upgrade. The packaged External Client App reaches a customer org only when that org installs your new package version, so the Summer '27 end of support is really a deadline for your next release and for getting customers onto it. Teams that push upgrades can move most installs at once. Teams whose customers upgrade on their own schedule should ship the migrated version early, because every customer still on an old version is still running a Connected App. Our guide to cutting and promoting a managed package version covers the release side.

The way back closes when the version ships. From Winter '27, you can delete a migrated packaged External Client App, after which "the connected app that it was migrated from becomes active again" (Delete a Migrated, Packaged External Client App). The same note says to "confirm that the app isn't part of a released package before you delete it." So the undo is for a migration you are still testing. Install the migrated version as a beta in a sandbox or scratch org, run a full authorization and a token refresh against it, and promote it only after that works.

Packaging rules change in your favour. A Connected App only reaches a second-generation package by first adding it to a first-generation package with the same namespace, promoting that version, and then referencing it from 2GP source (Package Connected Apps in Second-Generation Managed Packaging). An External Client App goes into 2GP directly. It also goes into 1GP, but only from the org where it was created, so a vendor still on 1GP doesn't have to move packaging generation to migrate.

Security controls that apply to both app types

Migrating doesn't exempt a partner app from Salesforce's OAuth requirements, and staying on a Connected App doesn't either. The ISVforce Guide applies them to any Connected App or External Client App used with a partner application and "in use by more than two customer production orgs" (Secure Your Connected Apps and External Client Apps). The four controls are PKCE, refresh token rotation, the 30-day idle refresh token limit and a refresh token IP allowlist. The guide lists May 11, 2026 as the due date for each, and after you self-attest, the controls lock and can't be turned off.

Each control asks for a client change. Refresh token rotation means your token store has to save the new refresh token on every refresh and handle two workers refreshing at once. The idle limit means a customer connection that goes quiet for 30 days needs a fresh authorization. These requirements are covered in more depth in our post on partner OAuth controls for apps in more than two customer orgs.

Mistakes that break customer connections during the switch

When a move from a Connected App to an External Client App breaks a customer connection, it usually shows up days later at the next token refresh, not on the day of the change. These are the causes to check for.

  • A username-password client hidden in a customer org. The migration succeeds, then that client fails with an authentication error because External Client Apps never support the flow.
  • Assuming new credentials are needed. Teams that rotate keys "for the migration" force every customer to reconnect when the migration button would have preserved them.
  • Deleting the original Connected App. Help says to keep it because both apps share the same consumer.
  • Expecting your new policy defaults to reach existing customers. Each customer's admin owns the policies on an External Client App, and the values they set persist after you update the app's settings.
  • Turning on PKCE without a client release. PKCE and refresh token rotation lock once attested, so the client code has to ship first.
  • Reading `invalid_grant` as a migration bug. After November 4, 2026, a refresh token idle for 30 days expires whichever app type issued it. Our Salesforce OAuth errors reference maps the error codes.

Frequently Asked Questions

Does migrating a Connected App to an External Client App change the consumer key?

No. Salesforce's migration button preserves the consumer key and secret, and refresh tokens remain valid. Only apps that can't use the button need a new External Client App with new credentials.

Can a Connected App go in a second-generation managed package?

Yes, but only indirectly. You add it to a promoted first-generation version with the same namespace and reference it from 2GP source. An External Client App goes into 2GP directly.

Do customers have to reconnect after a packaged migration?

No. Since Summer '26, customer OAuth flows, tokens and active sessions remain valid through the package upgrade. They do have to install the upgraded package version.

Which OAuth flow can't an External Client App use?

The username-password flow. Salesforce says it "won't be made available for external client apps," so move those clients to the JWT bearer or client credentials flow before migrating.

Can Appnigma migrate our Connected App?

Yes. Our marketplace apps work builds the managed package that carries a packaged External Client App, along with "Salesforce security review preparation and responses." Through done for you, a named integration engineer handles the build and the ongoing maintenance.

Sources

  1. Salesforce Help, Comparison of Connected Apps and External Client Apps Features
  2. Salesforce Help, Connected App to External Client App Migration
  3. Salesforce Help, Knowledge Article 005228017, Connected App creation changes
  4. Spring '26 Release Notes, Creation of New Connected Apps Is Disabled by Default
  5. Summer '26 Release Notes, Migrate Packaged and Distributed Connected Apps to External Client Apps
  6. Winter '27 Release Notes, Migrate All Connected Apps to External Client Apps
  7. Winter '27 Release Notes, Delete a Migrated, Packaged External Client App
  8. Winter '27 Release Notes, Retirement of OAuth 2.0 Username-Password Flow for Connected Apps
  9. Winter '27 Release Notes, Refresh Token Idle TTL Is Limited to 30 Days
  10. Salesforce Developers, ISVforce Guide, Secure Your Connected Apps and External Client Apps
  11. Salesforce Developers, Package Connected Apps in Second-Generation Managed Packaging
  12. Salesforce Developers, Metadata API Developer Guide, ExtlClntAppGlobalOauthSettings
  13. Salesforce Developers, Metadata API Developer Guide, ExtlClntAppOauthConfigurablePolicies
  14. Salesforce Developers, API Request Limits and Allocations
  15. Salesforce Developers, Mobile SDK Development Guide, External Client Apps and Connected Apps
  16. Salesforce Developers, Connected Apps (ISVforce)
  17. Salesforce Developers, Create an External Client App in Your Org

Which integration is your next deal waiting on?

Bring the customer requirements and your current setup. Get a clear scope and delivery timeline to take back to them.

© 2026 Appnigma AI. Built by ex-Salesforce engineers.