Salesforce is retiring the SOAP API login() call in API versions 31.0 through 64.0 as part of the Summer '27 release. This article walks Salesforce admins and integration owners through identifying affected integrations and migrating them to OAuth 2.0 authentication using External Client Apps before the mandatory cutover.
This article explains how to inventory integrations still authenticating with the deprecated SOAP API login() call in API versions 31.0 through 64.0, and how to migrate those integrations to OAuth 2.0 before the mandatory Summer '27 retirement. This is a release advisory, not a defect, so action is required only if an integration actually authenticates this way in the affected version range.
Salesforce is retiring the SOAP API login() call in API versions 31.0 through 64.0 as part of the Summer '27 release. Integrations that authenticate using SOAP login() in that version range must move to OAuth 2.0 authentication using External Client Apps before the cutover, or those integrations will stop authenticating.
For unattended server-to-server integrations with no human user in the loop, choose one of the following OAuth 2.0 flows:
Both flows return an OAuth access token that replaces the SOAP session ID in subsequent API calls. The underlying SOAP calls themselves do not need to change – only the authentication step changes.
Summer '26 introduces an optional "Use API Auth" user permission that lets admins opt into the new behavior early for controlled testing. Use this permission to validate migrated integrations before the mandatory cutover in Summer '27.
005387171

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.