As of November 2026, idle refresh tokens in production expire after 30 days (rolling out since 4 November 2026). The OAuth device flow is restricted from 30 November 2026. The username-password, user-agent and hybrid user-agent flows retire on 20 February 2027. Salesforce to Salesforce stops working in Spring '27, and Connected Apps support ends in Summer '27, when SOAP login() in API 31.0-64.0 is removed.
Key takeaways
- Existing Connected Apps keep working after Summer '27, but Salesforce stops fixing bugs and supporting them. New ones need a Support request to create.
- On 20 February 2027, Connected App integrations that log in with a username and password stop authenticating.
- Server-to-server jobs move to the client credentials or JWT bearer flow; apps where a person logs in move to the web server flow.
- Login History shows which integrations use the affected flows; Connected Apps OAuth Usage lists the apps.
- Rarely run jobs carry the most risk: idle tokens expire after 30 days, and SOAP login() can be switched off in orgs that have not used it for six months.
Dates below come from Salesforce's release notes, Help articles and architect blog, checked on 27 November 2026. Spring '27 and Summer '27 upgrade dates vary by instance; Trust Status shows yours.
The deadlines, in order
| Date or release | Change | Who is affected | What to do |
|---|---|---|---|
| Spring '26 (in effect) | New Connected Apps can no longer be created in the UI or through the Metadata API, except by package install, unless Salesforce Support re-enables creation. | Admins building new integrations, and pipelines that deploy Connected App metadata | Build new integrations as External Client Apps. Give the deployment user the Manage External Client Apps permission. |
| 21 Oct 2026 sandboxes, 4 Nov 2026 production (rolling, in effect) | Refresh tokens expire after 30 days without use. Where a flow has no refresh token, the access token expires 30 days after the last login. | Monthly, quarterly and annual jobs, and apps users open rarely | Make each integration alert someone or re-authorise on an invalid_grant error. |
| 30 Nov 2026 | The OAuth 2.0 device flow is restricted to local External Client Apps. | Anything using the device flow through a Connected App | Move it to a local External Client App with a supported callback URL. |
| 1 Dec 2026 | SOAP login() works only for users with the Use Any API Auth permission. | Users that authenticate with SOAP login(), including Data Loader in command-line (batch) mode | Assign the permission as a stopgap and plan the move to OAuth. |
| 15 Dec 2026 sandboxes, 31 Jan 2027 production | SOAP login() from a broad login IP range needs a security token. A one-time check turns SOAP login() off in orgs with no SOAP login() activity in the previous six months. | Orgs with wide IP ranges, and orgs whose only SOAP login() user is a rare job | Find rare jobs now. Migrate them, or add the security token as an interim fix. |
| 20 Feb 2027 | The username-password flow retires for Connected Apps. The user-agent and hybrid user-agent flows retire. | Middleware and scripts that send a username and password to the token endpoint, and browser or mobile apps on the user-agent flow | Move to client credentials, JWT bearer or web server flow. Move user-agent apps to the web server or hybrid web server flow with PKCE. |
| Spring '27 | Salesforce to Salesforce is fully retired. Legacy password and OAuth authentication for the Salesforce Connect cross-org adapter is retired. | Orgs with S2S connections or cross-org adapter data sources | Choose an S2S replacement. Move cross-org adapter data sources to named credentials. |
| Summer '27 | Connected Apps support ends. SOAP login() is removed in API versions 31.0 to 64.0. | Every org with Connected Apps or SOAP login() clients | Finish the move to External Client Apps and OAuth before your Summer '27 upgrade. |
Sources: the Winter '27 architect highlights (5 October 2026), the Winter '27 release notes on authentication and identity and refresh token idle time, and Salesforce's SOAP API login() retirement article (updated 20 November 2026).
How to find the affected integrations in your org
Build the list from the org, then confirm it with each system owner.
- In Setup, search for OAuth and open Connected Apps OAuth Usage. It lists the apps with OAuth access to your org, External Client Apps included, and lets you block an app.
- In App Manager, list every Connected App and note which came from installed packages. If a managed package contains the Connected App, the vendor has to ship an External Client App version; you cannot migrate it yourself.
- Download Login History as a CSV. Login Type "Remote Access 2.0" with Login Subtype "OAuth Username-Password", "OAuth User-Agent", "OAuth User-Agent for Hybrid Apps" or "OAuth Device" marks a retiring flow. For SOAP login(), Salesforce says to look for Login Type "Other Apex API" or "Partner Product", Login Subtype "SOAP API" and Application "N/A".
- Check the API Total Usage event log file: rows with an empty CONNECTED_APP_ID were authenticated by SOAP login() or a session. Without Event Monitoring you see only the last 24 hours.
- Ask the owners of middleware and ETL tools which credentials each connection stores. One that stores a username, password and token is usually on the username-password flow or SOAP login().
- Search CI/CD pipelines and scratch-org scripts for ConnectedApp metadata. Since Spring '26, creating a Connected App through the Metadata API fails just as it does in the UI, unless Salesforce Support has re-enabled creation.
- Ask about year-end exports, disaster-recovery syncs and seasonal jobs, which can look idle for six months.
Record each integration with its owner, app, login flow, run frequency and the deadline that applies to it.
Migrating to External Client Apps
What changes
An External Client App does the same job as a Connected App: it lets an outside system authenticate with OAuth or SAML and call Salesforce APIs. In practice the differences are these:
- Developer settings travel with the app. Admin policies, such as permitted users and IP rules, stay in each org and are never packaged.
- OAuth secrets sit in a global settings file that is never packaged.
- An app is either local to one org or packaged in a managed package. Local apps are not copied when you create or refresh a sandbox.
- The Spring '26 architect highlights say External Client Apps support only modern OAuth flows and drop the username-password flow.
The migration tool
For a Connected App built in your own org, open it in App Manager and click Migrate to External Client App, and Salesforce creates the new app. Salesforce's Connected App FAQ says users do not need to re-authenticate after a local migration. Publishers of first- or second-generation managed packages have their own migration tool, and the Winter '27 notes say customer tokens and sessions stay valid through the package upgrade.
Which flow replaces username-password
- Server-to-server jobs: client credentials or JWT bearer, both named in Salesforce's SOAP login() guidance. The username-password retirement note names client credentials and web server.
- Apps where a person logs in: the web server flow with PKCE.
- User-agent and hybrid user-agent apps: the web server or hybrid web server flow with PKCE.
- Salesforce Connect cross-org adapter: named credentials.
JWT bearer signs each token request with a certificate you manage. Client credentials runs every call as one designated integration user, so cut that user's access down to the objects it needs.
A sandbox test plan
- Refresh a sandbox and recreate or deploy your local External Client Apps in it, since they do not copy across.
- Point one integration at the sandbox app on its new flow and run its full job end to end.
- In Release Updates, enable the test run on the SOAP API login() retirement update in the sandbox. It blocks every SOAP login() call, so anything still using it fails where you can see it. In production the same test run causes a real outage.
- Revoke an integration's tokens on purpose and confirm it alerts someone or recovers.
- Run the year-end and disaster-recovery jobs in the sandbox now.
- Keep the old Connected App until the new one has run cleanly in production.
Triage checklist
- Inventory built from Connected Apps OAuth Usage, App Manager, Login History and the API Total Usage log, with flow, owner, frequency and deadline for each integration.
- Use Any API Auth assigned to SOAP login() users that still need it after 1 December 2026.
- Username-password and user-agent integrations migrated and tested before 20 February 2027.
- Vendors of packaged Connected Apps asked for their External Client App release date.
- S2S replacement chosen and cross-org adapter on named credentials before your Spring '27 upgrade.
See our Winter '27 release guide. If replacing S2S means copying data between orgs, our data migration checklist covers load order and reconciliation.
How CodeSierra helps
We split this into two pieces of fixed-scope work. The first is an integration audit run as a short scoping sprint: we build the inventory above from your org's logs and Setup pages, confirm it with your system owners and map each integration to its deadline and target flow. You get a written list of every integration, its risk and the change it needs, with a fixed price for the migration.
The second is the migration. We build the External Client Apps in source control, narrow the integration users' access, switch the middleware connections and test each one in a sandbox before a planned cutover, using Salesforce's migration tool where it fits. Scope and price are agreed in writing first. See Salesforce integration for the service and pricing for the scoping sprint. Our managed services include reviewing release updates like these every release.
Frequently asked questions
Do existing Connected Apps stop working in Summer '27?
No. The Connected Apps release update says existing Connected Apps keep working after support ends in Summer '27, but Salesforce will no longer fix bugs or support the integrations and flows that use them. Individual flows still break on their own dates, such as the username-password flow on 20 February 2027.
What replaces the OAuth username-password flow in Salesforce?
For server-to-server integrations, use the OAuth 2.0 client credentials flow or JWT bearer flow through an External Client App. Where a person logs in, use the web server flow with PKCE. The username-password flow retires for Connected Apps on 20 February 2027, and External Client Apps do not support it.
What is a Salesforce External Client App?
An External Client App is the successor to the Connected App. It keeps developer settings apart from each org's admin policies, never packages OAuth secrets and supports only current OAuth flows. It can be local to one org or distributed in a managed package.
When does Salesforce Connected Apps support end?
In Summer '27. The Winter '27 release update "Migrate All Connected Apps to External Client Apps" is enforced for production instances in Summer '27. Creating new Connected Apps has been blocked by default since Spring '26 unless Salesforce Support re-enables it.
Does this affect Data Loader, MuleSoft or other integration tools?
It depends on how each tool logs in. Salesforce says Data Loader's interactive mode already uses OAuth with PKCE and can connect through an External Client App. Its command-line batch mode still relies on SOAP login() and needs Use Any API Auth after 1 December 2026, with JWT support promised in a later release. For MuleSoft and other tools, check how each connection authenticates and ask the vendor.
What happens to Salesforce to Salesforce?
Salesforce to Salesforce is fully retired in the Spring '27 release and stops working in all orgs. Depending on the use case, Salesforce suggests Partner Cloud, Data Cloud One, the Salesforce Connect cross-org adapter or MuleSoft instead, and says these alternatives have some licence or cost impact.
Not sure which of your integrations are affected?
We can build the inventory, match each integration to its deadline and quote a fixed price for the migration. Get in touch and tell us roughly how many systems connect to your org.