As part of the phased retirement of the legacy SOAP API login() call, Salesforce is turning off SOAP login() in orgs that haven’t used it in the last six months. Turning off unused login methods reduces the ways someone can get into your org without authentication.
Starting with sandboxes on December 15, 2026, followed by production orgs on January 31, 2027, Salesforce will disable SOAP login() on orgs where it has been unused for six months. For orgs created in the last six months, SOAP login() will be disabled if no call has ever been made.
Your org is affected if your production org made no SOAP login() calls in the last 6 months. Activity is measured across the whole org, so a single SOAP login() call by any user in that period keeps SOAP login() on.
Before enforcement, check for integrations that use SOAP login() but run rarely enough to look inactive.
Annual jobs, like fiscal year-end exports or audit extracts
Disaster recovery or failover scripts
Seasonal integrations
Integrations under development or testing in a sandbox that aren't live in production yet
If one of these integrations runs after enforcement, its login fails.
In your production org, from Setup, search for and open Login History. Look for entries with:
Login Type: "Other Apex API" or "Partner Product"
Login Subtype: "SOAP API"
API Type: "SOAP Enterprise," "SOAP Partner," or "SOAP Tooling"
Application: "N/A"
Alternatively, use the API Total Usage event log: look for API_FAMILY = SOAP and API_RESOURCE = login, with an empty CONNECTED_APP_ID.
After enforcement, SOAP login() requests from your production org and its sandboxes fail. Any integration that depends on SOAP login() stops working.
Migrate every integration that uses SOAP login(), including rarely run ones, to external client apps with OAuth 2.0. This migration also covers the December 2026 security-token change and the Summer ’27 retirement. For help picking an OAuth flow, see Pick the right OAuth flow for your use case in SOAP API login() with a Broad IP Range Requires a Security Token.
If you can’t migrate to OAuth before December 2026, you can keep existing SOAP login() integrations working. Note that this is a temporary measure only. SOAP login() still retires in Summer '27, so you must complete the ECA and OAuth migration before then.
In Setup, search for and open User Interface.
Turn on the Enable SOAP API login() org pref.
In your production org, review Login History and the API Total Usage event log for SOAP login() activity.
Ask integration owners and ISV vendors about jobs that run annually or only during failover and about integrations under development in sandboxes.
Knowledge Article: Platform SOAP login() Retirement
Salesforce mTLS for SOAP login and API calls: Uploading a mutual authentication certificate
External Client Apps (ECA): External Client Apps overview
Trailhead — Use External Client Apps to Build Integrations: Trailhead trail
Reset your security token: Reset My Security Token
OAuth 2.0 JWT Bearer Flow: JWT Bearer flow
Restrict login IP ranges (Network Access): Network Access
005462386

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.