Salesforce invalid_grant error on-prem — OAuth Username-Password deprecation

Hi Community,

We’re running UiPath on-premises and recently started getting invalid_grant errors in the Salesforce Application Scope. Turns out our Salesforce org moved away from the OAuth Username-Password flow, which is the only flow supported by the Salesforce activities package.

How are other on-prem users handling this? Any workarounds besides re-enabling the username-password flow on the Salesforce side or rewriting everything with HTTP Requests?

Thanks!

Hi @itaim,

As a temporary workaround, you can re-enable Allow OAuth Username-Password Flows in Salesforce if your organization still permits it.

For a long-term solution, consider migrating to:

  1. Move to HTTP Request activities and implement a supported OAuth flow (Client Credentials, JWT, Authorization Code, etc.).
  2. Explore newer Integration Service / Salesforce connectors to see if they support your organization’s authentication requirements.

Thanks