Loading

What to Do When OAuth Security Settings Are Locked in a Connected App or External Client App

Udgivelsesdato: Oct 20, 2026
Beskrivelse

Salesforce requires certain OAuth security controls for Connected Apps (CAs) and External Client Apps (ECAs) based on the app's type, provider, and creation date. Some required settings are locked and can't be disabled, even when Setup says to contact Support. Use this article to identify your scenario and take the appropriate action.

Løsning

This article explains the OAuth security control changes affecting Connected Apps (CAs) and External Client Apps (ECAs) in Salesforce, who is affected, and what to do next.

What Changed

OAuth security controls now apply to Connected Apps and External Client Apps, with enforcement scope depending on app type and creation date.

App TypeProof Key for Code Exchange (PKCE)Refresh Token Rotation (RTR)30-day Idle Refresh Token Time-to-Live (TTL)Refresh Token IP AllowlistLearn More
Locally managed CAs/ECAs created on or after July 9, 2026RequiredRequiredRequiredRecommended when applicable
Third-party CAs/ECAs subject to Salesforce partner security requirementsRequiredRequiredRequiredRequired when applicable
Locally managed CAs/ECAs created before July 9, 2026Highly recommendedHighly recommendedRequiredHighly recommended when applicable

 

Who Is Impacted and What to Do

This change affects customer admins and developers who manage locally created apps, third-party app providers, and customers who use third-party apps.

Identify Your Scenario

If you areYour situationWhat to do
A customer admin or developer managing a locally managed Connected App or External Client AppYou created a locally managed Connected App or External Client App on or after July 9, 2026.

Update the OAuth client implementation to support the required controls. These settings can't be disabled.

You created a locally managed Connected App or External Client App before July 9, 2026.

Plan and test adoption of the controls before locking them. Where you or another developer in your org manually locked a control and unintentionally affected your integrations, Salesforce Support can unlock these on request. Salesforce Support cannot unlock 30-day Idle Refresh Token Time-to-Live (TTL) control, as that is now a default requirement.

You recreated a locally managed app after a sandbox refresh. The original production app was created before July 9, 2026.

Ask Salesforce Support to unlock the app's security controls on the recreated sandbox app. Do not request to unlock the 30-day Idle TTL control as that is now a default requirement.

A third-party app providerYou provide a Connected App or External Client App for use by your customers or subscribers.

Implement, test, and attest to the applicable partner security requirements.

A customer using a third-party appThe app and its OAuth implementation are managed by the provider.

Contact the app provider if the integration needs to be updated or stops working.


Actions for Apps Created on or After July 9, 2026

PKCE, RTR, and the 30-day Idle Refresh Token TTL are required for locally managed CAs and ECAs created on or after July 9, 2026. These controls can't be disabled.

Update and test the OAuth client implementation. Requesting Salesforce Support to disable or unlock these controls isn't an available remediation for these apps.

See Summer ’26 Release Note.

Actions for Apps Created Before July 9, 2026

For locally managed Connected Apps and External Client Apps created before July 9, 2026, these controls are currently recommended rather than required with the exception of the 30-day Idle Refresh Token Time-to-Live (TTL) control. 30-day Idle Refresh Token Time-to-Live (TTL) is now required for all apps, including locally managed apps created before July 9, 2026.  See Security Change: Refresh Token Idle TTL Is Limited to 30 Days.

Plan and test the controls before locking them. After you lock a control, you can't unlock it through Setup. If you or another developer in your org manually locked a control and unintentionally affected an integration, contact Salesforce Support to request that the control be unlocked (except for 30-day Idle Refresh Token Time-to-Live (TTL) as Salesforce Support cannot unlock this default requirement. Update and test the OAuth client so it can obtain a new token after idle expiration. Each successful refresh resets the 30-day idle window).

Salesforce strongly recommends updating and testing the integration with the security control enabled, and then locking the control again when the integration is ready. This improves security and helps prepare for potential future enforcement.

See Related Resources for control-specific guidance.

Actions for Apps Created After a Sandbox Refresh

Locally managed CAs/ECAs aren't copied during a sandbox refresh. If you recreate a locally managed CA or ECA in a sandbox to replace an eligible production app created before July 9, 2026, contact Salesforce Support if you need PKCE, Refresh Token Rotation, or Refresh Token IP Allowlist unlocked on the recreated app. 30-day Idle Refresh Token TTL cannot be unlocked, including after a sandbox refresh.

See Related Resources for control-specific guidance.

Actions for Third-Party App Providers

If you provide a Connected App or External Client App (CA/ECA) for use by customers, review and implement the applicable Salesforce security requirements. These requirements can include PKCE, Refresh Token Rotation, the 30-day Idle Refresh Token TTL, and the Refresh Token IP Allowlist.

Salesforce requires the applicable controls for in-scope third-party apps. Salesforce Support can't unlock these controls.

For requirements, applicability, implementation guidance, and compliance information, see:

Actions for Customers Using a Third-Party App

If a third-party app or integration stops connecting, contact the third-party app provider for assistance. The provider manages the app and can determine the appropriate next steps.

Share the exact error message and the time the error occurred, including the time zone, to help the provider investigate.

Don't send consumer secrets (client_secret values), access tokens, refresh tokens, authorization codes, passwords, or other authentication credentials.

Why you can’t disable the 30-day idle refresh token TTL (and why support can’t change it)

In Manage External Client App or Manage Connected App, Salesforce can display this message next to an OAuth security setting: "To change this required setting, contact Support."

The message appears consistently across different app scenarios and doesn't guarantee that the setting can be changed. A locked setting can reflect security requirements associated with the app's type, provider, creation date, or security-control attestation.

Salesforce Support can assist only in these two scenarios:

  • A locally managed Connected App or External Client App created before July 9, 2026, where you or another developer in your org manually locked a control and unintentionally affected an integration. See Actions for Apps Created Before July 9, 2026.
  • An eligible locally managed Connected App or External Client App recreated after a sandbox refresh. See Actions for Apps Created After a Sandbox Refresh.

Salesforce Support can't unlock the controls in the other scenarios described in this article. Refer to Identify Your Scenario table listed above and follow the applicable "Actions for..." section.

Frequently Asked Questions

Why is the OAuth security setting locked on my Connected App or External Client App?

The setting can be locked because the control is required for the app's type or creation date, or because a third-party app provider enabled and attested to the control. Required or attested controls can't be disabled.

Why does Setup tell me, "To change this required setting, contact Support"?

The same message can appear for different app scenarios. It doesn't guarantee that the setting can be changed. Identify who manages the app, how it is distributed, and when it was created to determine the available action. Refer to the scenarios outlined in this article.

What should I do if I use a third-party app and the integration stops working?

Contact the third-party app provider for assistance. The provider manages the app and can determine the appropriate next steps.

Share the exact error message and the time the error occurred, including the time zone. Don't send consumer secrets (client_secret values), access tokens, refresh tokens, authorization codes, passwords, or other authentication credentials.

Can Salesforce Support disable the required controls for a new locally managed app?

No. Proof Key for Code Exchange (PKCE), Refresh Token Rotation (RTR), and the 30-day Idle Refresh Token TTL can't be disabled for a locally managed Connected App or External Client App created on or after July 9, 2026.

Update the OAuth client implementation to support the controls.

Can a customer admin change the locked settings of a third-party app?

No. Customer admins and subscribers can't change provider-managed security controls. Contact the third-party app provider for assistance.

Can Salesforce unlock a control for a locally managed app created before July 9, 2026?

For PKCE, Refresh Token Rotation, and Refresh Token IP Allowlist: Yes, if you or another developer in your org locked the control and it broke an integration. Test with the control on, then lock it again when ready.

For Idle Refresh Token TTL: No. Salesforce Support cannot unlock this setting. Prepare the integration for the 30-day idle limit. See Security Change: Refresh Token Idle TTL Is Limited to 30 Days.


Can Salesforce unlock the security settings after a sandbox refresh?

For PKCE, Refresh Token Rotation, and Refresh Token IP Allowlist: Yes, if the original production app was created before July 9, 2026 and had the applicable controls disabled for a working integration, Salesforce Support can unlock the corresponding controls on the recreated sandbox app.

For Idle Refresh Token TTL: No. Salesforce Support cannot unlock this setting. Prepare the integration for the 30-day idle limit. See Security Change: Refresh Token Idle TTL Is Limited to 30 Days.

 

Setup tells me to contact Support to change Idle Refresh Token TTL. Can Support change it?

No. After this control is required, contacting Support is not an available remediation. The Setup message appears for several locked OAuth settings and does not mean Idle TTL can be changed.

 

Yderligere ressourcer

Third-Party App Providers

Require Proof Key for Code Exchange (PKCE)

Refresh Token Rotation

30-Day Idle Refresh Token TTL

Refresh Token IP Allowlist

Vidensartikelnummer

005433465

 
Indlæser
Salesforce Help | Article