# Fixing OAuth Errors When Connecting Through Delpha Connected App

## Error Message

When connecting your LinkedIn account, the following error message may appear.

{% hint style="danger" %}
**We can't authorize you because of an OAuth error. For more information, contact your Salesforce administrator.**&#x20;

**OAUTH\_APPROVAL\_ERROR\_GENERIC : An unexpected error has occurred during authentication. Please Try again.**
{% endhint %}

<div align="left"><figure><img src="/files/FBtTMQnAgk5tnhWzQS2A" alt="" width="241"><figcaption></figcaption></figure></div>

## Root cause

Salesforce restriction on uninstalled Connected Apps (Sept 2025)

Starting in early September 2025, Salesforce blocks end users from authorizing or using uninstalled Connected Apps. Only apps that are explicitly installed (or users with special permissions) will work. ([Salesforce](https://help.salesforce.com/s/articleView?id=005132365\&language=en_US\&type=1\&utm_source=chatgpt.com))

## Why Delpha is impacted

&#x20;Delpha’s Connected App (`DelphaAssistantV2`) is not installed with the Delpha Assistant package. That makes it an uninstalled application. New users attempting to connect LinkedIn through Delpha will fail until the app is installed (or the user has a bypass permission). ([Salesforce](https://help.salesforce.com/s/articleView?id=xcloud.connected_app_how_to_install.htm\&language=en_US\&type=5\&utm_source=chatgpt.com))

## How to fix it

### Case 1 — The user doing the Delpha connection has the System Administrator profile

1. In **Setup**, open **Connected Apps OAuth Usage**\
   (Quick Find → “Connected Apps OAuth Usage”). ([Salesforce](https://help.salesforce.com/s/articleView?id=xcloud.connected_app_how_to_install.htm\&language=en_US\&type=5\&utm_source=chatgpt.com))
2. Locate `DelphaAssistantV2`.
3. In **Actions**, click **Install** (you’ll typically also see **Block** beside it).
4. Confirm installation. After this, end users can authorize via Delpha normally.

> Tip: In this list, an app showing “Install” is not yet installed; one showing “Uninstall” is already installed.

{% hint style="warning" %}
If you are using a Delpha version below 3.62, you will have to apply the same remediation to the connected app `DelphaApp`
{% endhint %}

### Case 2 — The user doing the Delpha connection isn’t a System Administrator

1. Create a **temporary Permission Set** that grants the system permission: **Approve Uninstalled Connected Apps**. ([Salesforce Admins](https://admin.salesforce.com/blog/2025/get-ready-for-changes-to-connected-app-usage-restrictions?utm_source=chatgpt.com))
2. Assign this Permission Set to the user who will perform the install.
3. Have that user repeat **Case 1** to click **Install** on `DelphaAssistantV2`.
4. **Remove** the temporary Permission Set after installation.

{% hint style="warning" %}
If you are using a Delpha version below 3.62, you will have to apply the same remediation to the connected app `DelphaApp`
{% endhint %}

### Notes & validation

* Existing users who previously authorized an uninstalled app may continue working in some cases, but new authorizations are blocked unless the app is installed or the user has the new permission.&#x20;
* If “Install” isn’t visible, you may already have the app installed (you’ll see “Uninstall” instead), or you’re not viewing from an account with rights to install.&#x20;
* To double-check, open **Connected Apps OAuth Usage**, select the app, and review **Manage App Policies**. ([Salesforce](https://help.salesforce.com/s/articleView?id=xcloud.connected_app_how_to_install.htm\&language=en_US\&type=5\&utm_source=chatgpt.com))

{% hint style="success" %}
That’s it—once `DelphaAssistantV2` is installed, new users can connect LinkedIn through Delpha without hitting the new restriction.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.delpha.io/delpha-for-salesforce/troubleshot/fixing-oauth-errors-when-connecting-through-delpha-connected-app.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
