Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request]: Support OAuth Authentication for Salesforce Input/Output #4657

Open
zoomingrocket opened this issue Dec 4, 2024 · 3 comments

Comments

@zoomingrocket
Copy link

zoomingrocket commented Dec 4, 2024

What would you like to happen?

Feature Request: OAuth Authentication Support for Salesforce Integration

Summary:
To enhance security and comply with evolving Salesforce policies, we propose adding OAuth authentication support for Salesforce Input/Output operations in our product.

Background:
Many companies are adopting stricter security measures for their Salesforce Organizations, requiring all API access to be conducted via a Connected App using OAuth. This policy renders the standard SOAP API login() call with username, password, and security token ineffective. Instead, an OAuth handshake must be performed to generate a bearer token, which is then used in the SOAP "sessionID" header for all Salesforce SOAP calls.

Proposed Solution:

  1. OAuth Authentication Mechanism:

    • Implement OAuth as an authentication option within Salesforce Input/Output operations.
    • Allow users to perform the OAuth handshake and generate a bearer token.
  2. REST Client Integration:

    • Enable the REST Client to generate an OAuth bearer token.
    • Allow the insertion of the "sessionID" SOAP header parameter for Salesforce Input/Output operations without requiring additional username/password setup.

References:

This feature will align our product with current security practices and ensure seamless integration with Salesforce for our users.

Issue Priority

Priority: 2

Issue Component

Component: Hop Gui

@CatalyseRichard
Copy link

Would it be good to have this as a separate 'generate OAuth token' transform to enable it to be more generic, not just limited to salesforce?
The input would be the parameters required to obtain the JWT and the output would be a field containing the token which can then be used as required (generally by concatenating with a known bearer to create an authentication string).

@bamaer
Copy link
Contributor

bamaer commented Dec 7, 2024

Absolutely. A first stab at that will be included in 2.11, but there are a lot of possible options and configurations. We'll need to work on this for a couple of releases.

@zoomingrocket
Copy link
Author

@CatalyseRichard @bamaer - A dedicated OAuth Token generator will help, but the current problem is passing the generated bearer token to Salesforce SOAP (WSDL) based API, which requires the sessionID header.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants