Hi everyone, first forum question after two years of daily use, but now I’m stumped!
I need to connect n8n to a Salesforce account in production using the Salesforce OAuth2 API.
I followed the tutorial right here:
But when I enter Client ID + Client Secret and click on “Connect my account”, a page opens asking me if I accept, I accept and then nothing.
A blank page that goes round in circles.
I’ve set all the permissions, tried to tick values…
Is there any error at all on the salesforce side? Can you also try connecting with your browser using the private browsing option to rule out anything odd.
It could be but sadly I can’t see what n8n is getting back, The blank page in your screenshot looks like Salesforce is having a problem so it could be worth reaching out to their support team.
Wow! I thought I was the only one facing this issue and concluded I was doing something wrong even though I followed it to the T. Glad I’m not the only one - was losing my mind trying to make it work.
@teltel - were you able to find a solution for this?
I have the same issue, with JWT and OAuth2.
I add everything according to the instructions and always get an error “ERROR: Bad request - please check your parameters
invalid_grant”
I’m not sure if its causing the issue but try unchecking enable client credentials flow on your Salesforce Oauth Connector. I don’t think that i have that checked in my setup.
I just gave my newly created salesforce created app a go and it just works, My assumption here is this is likely to be a config issue or maybe a browser plugin / ad blocker preventing the authentication attempt.
I’m using this managed service called elest.io to host n8n. So, I’m assuming it is because of a different installation, but I’m not sure what I can do to make it work though.