Loading
Slack製品の問い合わせ先はSalesforce Helpへ統合・変更されます続きを読む

Impact of the Salesforce SOAP API login() and OAuth 2.0 Username-Password Flow Retirements on the MuleSoft Salesforce Connector

公開日: Oct 14, 2026
説明

Salesforce announced the retirement of SOAP API login() and of the OAuth 2.0 username-password flows. This article discusses how it affects Mule applications that use the Mulesoft Salesforce Connector.

解決策

Two Salesforce Connector connection types depend on the Salesforce authentication mechanisms that are being retired:

| Connector connection type | XML element | Salesforce mechanism it uses | Status in the connector | |—|—|—|—|—| | Basic Authentication | salesforce:basic-connection | SOAP API login() | Currently only supported with Salesforce API v64.0 and below. Since version 11.3.0, the connector doesn’t support Basic Authentication for Salesforce API v65.0+. Will stop working older SF API versions (v31.0 - v64.0) as well, when Salesforce enforces the retirement.| | OAuth Username Password | salesforce:oauth-user-pass-connection | OAuth 2.0 username-password flow | Already removed in connector version 12.0.0. Applications that use it fail to deploy on 12.0.0. It’s still available in 11.x, but will stops working when Salesforce enforces the retirement. |

These connection types are not affected and are the supported replacements: OAuth Client Credentials, OAuth JWT, OAuth v2.0, and OAuth SAML.

Upgrading the connector will not help. The authentication method restrictions are enforced on the target (Salesforce Org) and not dependent on Mulesoft or the connector.

その他のリソース

Salesforce timelines

These dates are set by Salesforce and apply to your Salesforce org, not to the Mule runtime or the connector version.

WhenChangeWhat a Mule app using the affected connection type sees
Already in effectSOAP API login() isn’t available in API version 65.0 and later. It’s also disabled by default in orgs created from Winter '26 onward, and an admin must enable it before use.Basic Authentication can’t connect at API v65.0+, or in a new org where SOAP API login() isn’t enabled.
December 1, 2026SOAP API login() succeeds only if the user has the Use Any API Auth user permission.Login is rejected with INSUFFICIENT_ACCESS.
December 15, 2026 (sandboxes) / January 31, 2027 (production)SOAP API login() from a broad login IP range (larger than /8 IPv4 or /29 IPv6, set at org or profile level) requires a security token or mTLS.Login fails with TOKEN_REQUIRED (Login History result code 1502).
December 15, 2026 (sandboxes) / January 31, 2027 (production)One-time check: SOAP API login() is disabled in orgs with no SOAP API login() activity in the trailing 6 months.Rarely run integrations (annual, seasonal, disaster recovery) can fail after the check.
February 20, 2027OAuth 2.0 username-password flow retired for connected apps. There’s no opt-out after enforcement.Token requests fail with invalid_grant / authentication failure. Login History shows OAuth Username-Password Flow Disabled.
Summer '27SOAP API login() removed for API versions 31.0–64.0.Basic Authentication can no longer authenticate.

Release Update test runs: In Setup > Release Updates, enabling the test run for SOAP API login() Retirement blocks all SOAP API login() calls to the org. Enabling the test run for Retirement of OAuth 2.0 Username-Password Flow for Connected Apps blocks that flow. In production, a test run immediately breaks every Mule application that still uses the affected connection type.

Common questions

Will upgrading to the latest Salesforce Connector keep Basic Authentication working? No. The connector version doesn’t change the Salesforce mechanism that Basic Authentication uses. Once Salesforce enforces a requirement or retires SOAP API login() in your org, Basic Authentication stops working on every connector version. You must change the connection type.

My application uses Salesforce API v64.0 or earlier. Would it be impacted? Yes. The retirement covers the older SF API versions (31.0 through 64.0), current versions (v65.0 and above) already block basic auth.

ナレッジ記事番号

005461857

 
読み込み中
Salesforce Help | Article