Our client is using a Connected app on Salesforce that we need to us in an n8n flow. We only have the Consumer key and Consumer secret to establish the connection and don’t have access to username/password information.
When trying out the Salesforce node in n8n cloud hosted the documentation states that we need to “Copy the displayed Consumer Key and the Consumer Secret and use these with your Salesforce OAuth2 API credentials in n8n.” However, these fields are not present in their cloud hosted instance of n8n:
On our own self-hosted instance of n8n these fields are present. Were they perhaps removed in one of the updates?
I did manage to make a workaround by using the generic OAuth2 in the HTTP node. Just wondering why I was not able to establish the connection through the Salesforce node itself
@Erhan_Ozturk , if I’m not mistaken you do not need Consumer Key and the Consumer Secret on n8n Cloud. You will need those, however, when self-hosting. See the note on that document.
@Jon@ihortom Thanks for responding. The issue I was facing was because of the fact that we don’t have an account that we are able to use to setup the connection. We’ve only got the Consumer Key and Consumer Secret.
So if I understand correctly we won’t be able to use the SalesForce node and should continue to use the HTTP node as that is currently working for us.
Are you not authenticating as a user? Even on self hosted if you fill out the fields you are asked to connect to salesforce and authenticate as a user then we store the oauth tokens for future authentication. On cloud the process is the same but we manage the application so you just need to connect and you are good to go
@Jon Our client only provided us with the Consumer Key and Consumer Secret. They don’t have any user credentials available for us to make the connection with. Their connected app has been setup by a third party which I assume provided them with the Consumer Key and Consumer Secret that I’m using currently.
I do understand now how the authentication process works on the cloud version of n8n and we are able to continue our work by using the HTTP node so I’d like to thank you for your help.