Salesforce connection issue with n8n (OAuth Error)

Hi everyone,

After a lot of trial and error we finally found the root cause of the OAUTH_APPROVAL_ERROR_GENERIC issue when trying to connect Salesforce with n8n Cloud.

:backhand_index_pointing_right: The fix is on the Salesforce side:

  1. Go to Setup → External Client Apps OAuth Usage

  2. Find and select the n8n app

  3. Click Install

  4. Once installed, you can manage the permissions/policies of the Connected App (e.g. permitted users, IP relaxation, refresh token policy, etc.)

After doing this, the connection from n8n Cloud worked right away. :rocket:

Hopefully this helps anyone running into the same problem!