Guide Fixing errors
Salesforce "Cross-org OAuth flows are not supported": cause and fix
Short answer: "Cross-org OAuth flows are not supported" appears when someone signs in to a Salesforce org through an app that belongs to a different org and has not been installed in this one. It is usually seen with an External Client App, the newer replacement for a connected app: such an app lives in the org that created it, and works in another org only after it has been packaged and installed there. The fix is to install the app's package in the org you are signing in to, then try again.
What happens
- A tool sends you to Salesforce to approve access. The sign-in page belongs to your org.
- The tool's OAuth app - the thing that holds its client id - was created in its developer's org.
- Your org has no copy of that app, so it cannot honour the sign-in. Salesforce stops with "Cross-org OAuth flows are not supported", often in the address bar or on an error page, together with the
error_description.
Nothing is wrong with your password, your user or the tool's server. The org simply has not been told the app exists.
Why it works in one org and not another
OAuth apps in Salesforce are tied to the org that owns them. An External Client App is scoped to its own org, and to be used in another org it has to be installed there from a package. So the same tool, with the same client id, works in the org where its app lives (or where its package is installed) and fails everywhere else with this message.
This often confuses the first test of a new integration: it works for the developer in the developer's org, then fails in the customer's org or in a Sandbox.
How to fix it
As the person connecting a tool:
- Find out which package the tool needs installed (the vendor's install link or instructions will say).
- Install it in the org you are signing in to - for a Sandbox, in the Sandbox, using the Sandbox install link.
- Choose Production or Sandbox correctly when you connect: signing in at the production login page to a Sandbox-only package (or the other way round) fails the same way.
- Press Connect again.
As the person building an integration:
- Create the OAuth app in the org you are connecting to (a connected app or an External Client App created there), or
- Package your External Client App and have the customer install the package, so the app exists in their org.
- Make sure the callback URL of the app matches the one your server sends. A different error,
redirect_uri_mismatch, means the callback is wrong; this one means the app is missing.
How to tell it from other sign-in errors
| What Salesforce says | What it usually means |
|---|---|
| Cross-org OAuth flows are not supported | The app is not installed in this org |
redirect_uri_mismatch | The app exists, but its callback list does not include the address in use |
access_denied | The user denied access to the client app (Salesforce's own wording) |
invalid_client_id | The client identifier is invalid (Salesforce's own wording) |
For the approval page that can stop a sign-in, see OAUTH_APPROVAL_ERROR_GENERIC; for a refused token request, see invalid_grant.
Frequently asked questions
Is this a Salesforce outage?
No. It is a message about the app and the org, not a fault in either.
Will resetting my password help?
No. The sign-in cannot continue because the app is not present in the org.
Does it affect Sandboxes?
Yes: a Sandbox is a separate org, so the app must be installed there as well.
Can an admin make it work without installing anything?
Not for an External Client App that belongs to another org: it has to be installed from its package. An admin can instead create an OAuth app in the org itself, if the tool supports using one.
Sources and further reading
Where this page leans on someone else's documentation or standard, it is listed here. Check the release or edition your org runs: official pages change.
- External Client Apps and Connected Apps (Salesforce Help) - help.salesforce.com
- New Connected Apps Can No Longer Be Created in Spring '26 (Salesforce Help article) - help.salesforce.com
- Spring '26 Release Architect Highlights (Salesforce) - salesforce.com
Keep reading
Salesforce API request limits and AI agents
What REQUEST_LIMIT_EXCEEDED means, how AI agents and integrations draw on the same daily allowance, how to check what is left, and what to do when it is used up.
How to test an AI agent in a Salesforce Sandbox first
A practical way to trial an AI agent against a Salesforce or Certinia Sandbox: what to prepare, what to run, what to look for and when to move to production.
An AI assistant for Salesforce that asks before it writes
Ask your Salesforce data questions in plain English, get answers, charts and research with sources, and change records only after you confirm each change.
What is a Salesforce External Client App?
An External Client App is Salesforce's newer way for an outside application to be allowed into an org with OAuth. It is packaged, and it works only in orgs where it is installed.
Salesforce OAUTH_APPROVAL_ERROR_GENERIC: what it means and how to fix it
What the Salesforce OAUTH_APPROVAL_ERROR_GENERIC page means, the cause Salesforce documents, how the address of the page tells the causes apart, and the order in which an admin checks them.
Salesforce invalid_grant: the causes, how to tell them apart and how to fix each
What the Salesforce invalid_grant error means, the causes Salesforce lists, how the error_description separates a finished token from an org rule, and the fix for each.