← All articles
Action requiredSummer '26Security / Authentication Providers

Action Required: Replace the Salesforce-Managed X Auth App

Summer ’26 enforcement has passed. Find affected X Auth Providers in every org and replace the retired managed app with your own X app.

Required action

Salesforce enforced this release update in Summer ’26. In orgs that have completed that upgrade, X Auth Providers still using the Salesforce-managed app can no longer sign users in through SSO; treat this as a current login issue, not an upcoming deadline. The update applies to Lightning Experience and Salesforce Classic in Enterprise, Performance, Unlimited, and Developer editions. Providers already using credentials from your own X app aren’t affected; providers associated with the X Ads for Marketing Intelligence Connector are excluded.[1]

Find affected providers

Check every production org and sandbox separately. In Setup, open Auth. Providers and review providers whose type is Twitter. A blank Consumer Key identifies candidates that may still use Salesforce’s managed app; for the definitive affected-provider list, run this Salesforce-recommended SOQL query in each org using Developer Console or another SOQL tool. The query excludes providers associated with the X Ads for Marketing Intelligence Connector.[2]

SELECT FriendlyName
FROM AuthProvider
WHERE ProviderType = 'Twitter'
AND ConsumerKey = null
AND OptionsIsEmi = false

Replace the managed app

Test the migration in a sandbox before production. Apply it to every affected provider in every org; each org has its own Auth Provider configuration.[2]

  1. In the X Developer Portal, create or select an X app and get its API Key and API Key Secret. Salesforce uses these values—not the X app’s separate client ID and client secret.[2]
  2. In Setup > Auth. Providers, edit the affected Twitter provider. Set Consumer Key to the X app’s API Key and Consumer Secret to its API Key Secret, then save.[2][3]
  3. Copy the callback URL Salesforce generates. Use the URL under Salesforce Configuration for employee logins, or the callback under Experience Cloud Sites for site logins.[2]
  4. In the X Developer Portal, open the app’s User authentication settings and select Set up. Set Callback URI / Redirect URL to the Salesforce callback. Choose Read permission and the Web App, Automated App, or Bot app type, add a website URL and any other required app information, then save.[2]
  5. Open the provider’s Test-Only Initialization URL and verify the returned attributes. Then complete an end-to-end SSO login through the org’s My Domain or the relevant Experience Cloud site.[2][3]

Sources

  1. Salesforce-Managed X (Formerly Twitter) Authentication Provider Retirement (Release Update)https://help.salesforce.com/s/articleView?id=release-notes.rn_security_twitter_provider_retirement.htm&language=en_US&release=262&type=5
  2. Prepare for the Salesforce-Managed X (Formerly Twitter) Authentication Provider Retirementhttps://help.salesforce.com/s/articleView?id=005228382&language=en_US&type=1
  3. Configure an X (Formerly Twitter) Authentication Providerhttps://help.salesforce.com/s/articleView?id=xcloud.sso_provider_twitter.htm&language=en_US&type=5