Guide Fixing errors
Salesforce OAUTH_APPROVAL_ERROR_GENERIC: what it means and how to fix it
Short answer: The Salesforce OAUTH_APPROVAL_ERROR_GENERIC page, which says "We can't authorize you because of an OAuth error", appears when Salesforce refuses to let a person authorize an app while signing in. The cause Salesforce documents is an app that is not installed in the org, used by someone who does not have the Approve Uninstalled Connected Apps permission. A Salesforce admin fixes it by installing the app and deciding who may use it, and the address in your browser usually shows which case you are in.
What the error page is
When a tool asks to connect to your org, you sign in on a Salesforce page and approve access. If Salesforce refuses at that point, the person sees "We can't authorize you because of an OAuth error. For more information, contact your Salesforce administrator." together with OAUTH_APPROVAL_ERROR_GENERIC. Salesforce's own article shows exactly this pairing for an uninstalled app. The page is generic: the reason is not in the text.
The detail is in the address. In the case Salesforce documents, the URL carries two parameters:
https://example.com?error=invalid_client&error_description=app+must+be+installed+into+org
Copy the whole address from the browser's address bar before you close the window, and give it to your admin. It is the evidence that separates the causes below. If you searched for "app must be installed", this is the error behind it.
The cause Salesforce documents: an app that is not installed
Starting in early September 2025, Salesforce restricts the use of uninstalled connected apps. An uninstalled app is one that a user authorized directly on the OAuth page, without an admin installing it in the org. As of October 2026, Salesforce's article says a person can keep using an uninstalled app only if they authorized it before and the app does not use the OAuth 2.0 device flow. A new person is blocked. Apps installed before the change keep working, and the restriction is required: it cannot be turned off.
The way past it is a user permission, Approve Uninstalled Connected Apps:
- Salesforce assigns it to the System Administrator standard profile. Custom profiles do not get it automatically, including profiles that were once cloned from System Administrator. An admin on a custom profile can meet this error like anyone else.
- Salesforce says to give it only to highly trusted users, such as admins and people who manage or test connected app integrations. For everyone else the answer is to install the app.
Two details change what you see. In an org that uses API Access Control, the person is not left on an error page: Salesforce redirects to the app's callback address with error=OAUTH_APP_BLOCKED and error_description=this app is blocked by admin. And blocking an app is an admin action that ends its sessions and prevents further use, even for people who hold the permission.
Salesforce's article is about connected apps. An External Client App that has not been installed from its package usually stops with a different message, covered in the cross-org OAuth error.
How to tell which case you have
The address, or the message the tool shows, usually names the case. The first six rows are refusals Salesforce documents around the approval and sign-in step; the last is a message seen in practice when an External Client App belongs to another org:
| What you see | What it means | Who fixes it |
|---|---|---|
error=invalid_client with error_description=app must be installed into org | The app is a connected app that is not installed in the org, and the person lacks the Approve Uninstalled Connected Apps permission | Salesforce admin: install the app |
error=OAUTH_APP_BLOCKED with this app is blocked by admin | Salesforce shows this for an uninstalled app in an org with API Access Control; the wording says an admin blocked the app | Salesforce admin |
invalid_app_access: "User isn't approved by an admin to access this app" | An admin has not approved the person for the app; with the policy "Admin approved users are pre-authorized", that means the person's profile or permission set is not on the app | Salesforce admin: add the profile or permission set |
invalid_grant with "IP restricted or invalid login hours" | The org's IP ranges or login hours refuse the sign-in | Salesforce admin: IP Relaxation, or the profile's ranges |
access_denied: "User denied access to the client app" | The person denied access on the Allow or Deny window | The person: connect again and allow |
redirect_uri_mismatch: "Redirect URI mismatch with connected app definition" | The callback address the tool sends is not in the app's definition | The tool's developer |
| "Cross-org OAuth flows are not supported" | An External Client App that belongs to another org | Install its package, see the guide linked above |
The generic page does not say which row applies, which is why the address matters. If the address gives you nothing, ask the org. In Setup, Connected Apps OAuth Usage lists the apps people have used. An app that is not installed shows an Install button in the Action column. Since Spring '26 the page also has, in orgs where the feature is available, a Denied Attempts Due to Usage Restriction column and the date and time of the latest denied attempt: if the number goes up when the person tries again, this restriction is what refused them.
Fix it: the checks in order
- Read the address of the error page, or the message the tool shows, and match it to the table.
- Is the app installed? Setup > Connected Apps OAuth Usage. If the Action column shows Install, click it, then click Install again on the page that opens. For an External Client App from another org, see the cross-org guide linked above.
- Check the denied attempts on the same page, as described above.
- Check the permission. Does the person's profile, or a permission set, give them Approve Uninstalled Connected Apps? Prefer step 2 to handing the permission out.
- Check Permitted Users. For a connected app: Setup > Manage Connected Apps > Edit > OAuth Policies. For an External Client App: Setup > External Client Apps Manager > the app's actions list > Edit Policies > OAuth policies. If it says "Admin approved users are pre-authorized", the person's profile or permission set must be on the app: edit the profile's Connected App Access list or the permission set's Assigned Connected App list. Take care when switching: moving from self-authorization to admin approval removes access from anyone who is not specifically authorized, and the Use Any API Client permission bypasses the setting, which is why Salesforce warns about it.
- Check IP Relaxation. The connected app policy offers four options: enforce the org's IP restrictions (the default), enforce them but relax for refresh tokens, relax for activated devices, or relax them. Salesforce notes that IP restrictions apply only if they are set on the user's profile. The error table names login hours in the same refusal.
- Ask whether someone blocked the app. Blocking is done from Connected Apps OAuth Usage, and it refuses even people who hold the permission.
- In a sandbox, if the permission is missing from profiles and cannot be granted, Salesforce advises running the "Match Production Licenses to Sandbox without a Refresh" tool in that sandbox.
- If nothing else explains it, ask the person to try again in a new window. This step is this site's suggestion, not Salesforce's.
If you are not an admin, the install and policy steps are not yours to do: installing a connected app needs Customize Application plus either Modify All Data or Manage Connected Apps. Send your admin the app's name, the address of the error page and what you were trying to do.
Related errors and guides
If the app was connected before and a rule of the org later refuses it, the refusal belongs to the same family as the ones in Salesforce invalid_grant. Connected apps and External Client Apps explains the difference between the two kinds of app, and Salesforce permissions for AI agents covers what the connected person can then do.
Frequently asked questions
Is OAUTH_APPROVAL_ERROR_GENERIC a Salesforce outage?
No. In the case Salesforce documents it is a security restriction that Salesforce turned on for all orgs. It refuses the app for that person, not the whole org.
Why did it start when the app worked before?
One cause Salesforce documents is the usage restriction on uninstalled connected apps. As of October 2026, Salesforce's article says people who authorized an uninstalled app before the change can keep using it, a new person is blocked, and uninstalled apps that use the device flow are blocked even for people who authorized them before.
Can I fix it if I am not a Salesforce admin?
Usually not. Installing the app and changing its policies are admin actions. Give your admin the app's name, the address of the error page and the reason you need the app.
Should I give everyone the Approve Uninstalled Connected Apps permission?
No. Salesforce says to assign it only to highly trusted users, and to install the apps people need instead.
Is this the same as "Cross-org OAuth flows are not supported"?
No. That message belongs to an External Client App that is not installed in the org. See the cross-org OAuth error.
Does it happen in a sandbox?
Yes. A sandbox is a separate org, and Salesforce's article describes a sandbox case in which the permission is missing from profiles and the licence-matching tool is the suggested fix.
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.
- Prepare for Salesforce Connected App Usage Restrictions Change (Salesforce Help article) - help.salesforce.com
- OAuth 2.0 Authorization Errors (Salesforce Help) - help.salesforce.com
- Manage OAuth Access Policies for a Connected App (Salesforce Help) - help.salesforce.com
- Preauthorize User App Access Through External Client App Policies (Salesforce Help) - help.salesforce.com
- Track Attempts to Use Uninstalled Connected Apps (Salesforce Spring '26 release notes) - help.salesforce.com
Keep reading
Salesforce "Cross-org OAuth flows are not supported": cause and fix
What the Salesforce message "Cross-org OAuth flows are not supported" means, why it appears when you sign in to an org that does not have the app, and how to fix it.
Salesforce connected apps vs External Client Apps: what changed and what to watch
What separates a connected app from an External Client App, what Spring '26 changed for new integrations, how packaging and org scope work, and the gotchas to plan for when building on one.
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 permissions for AI agents: a least-privilege plan
The layers of permission that decide what an AI agent can do in Salesforce, and a plan for giving it the least it needs.
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.