forcedotcom / Salesforce-CDP-jdbc

JDBC driver to connect to Salesforce CDP.
Apache License 2.0
32 stars 28 forks source link

dbeaver authentication failed #80

Open Zhougege opened 2 years ago

Zhougege commented 2 years ago

Hello,

I finished all the config in Salesforce following the guide. When I test connection to the CDP with DBeaver, I got “authentication failed” message.

parameters are like below: JDBC URL : jdbc:queryService-jdbc:https://celnet-2d-dev-ed.my.salesforce.com username : password :

pretty sure that the username and password are correct and the user has admin role.

Kindly help!

kpervin commented 1 year ago

Did you ever figure this out? I'm running into a similar issue with Datagrip.

kevinquillen commented 11 months ago

Doesn't work at all.

gmillerd commented 8 months ago

https://help.salesforce.com/s/articleView?id=sf.c360_a_set_up_dbeaver_connected_app.htm&type=5

kevinquillen commented 8 months ago

Has that been updated, is it new?

hisham-improving commented 3 weeks ago

Has anyone been able to solve this issue? I have created a Connected App in Salesforce Data Cloud. I have admin access in Salesforce. I am creating a Salesforce connection in Dbeaver, setting the url as https://login.salesforce.com. I'm using my username and password, i'm also setting the clientId and clientSecret (which I get from the Salesforce Connected App setup page). I have tried various combinations of oauth scopes, right now I have set it to ALL of them.

When I click on "Test Connection" on DBeaver, I get: "end-user denied authorization".

Anyone can help me with this, much appreciated!