Example of OAuth Salesforce connection string

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for Cloud Applications
Post Reply
pl6306
Posts: 5
Joined: Thu 19 Oct 2017 15:59

Example of OAuth Salesforce connection string

Post by pl6306 » Thu 19 Oct 2017 16:01

Hello,

Please provide an example of OAuth Salesforce connection string. What else aside from the refersh_token needs to be provided?

Thanks!

pl6306
Posts: 5
Joined: Thu 19 Oct 2017 15:59

Re: Example of OAuth Salesforce connection string

Post by pl6306 » Thu 19 Oct 2017 18:33

I think I found the problem. If I don't put in a ClientSecret then the connection string for AccessRefreshToken fails. I have configured the Salesforce connected app not to require the ClientSecret. Can I disable the the ClientSecret parameter from being added to token request?

Shalex
Site Admin
Posts: 9543
Joined: Thu 14 Aug 2008 12:44

Re: Example of OAuth Salesforce connection string

Post by Shalex » Mon 23 Oct 2017 16:53

We will investigate the question and notify you about the result.

Shalex
Site Admin
Posts: 9543
Joined: Thu 14 Aug 2008 12:44

Re: Example of OAuth Salesforce connection string

Post by Shalex » Fri 24 Nov 2017 11:22

The behaviour is changed: empty Client Secret is not sent to the server if not set.

The change is included in the newest (3.2.399 23-Nov-17) build of dotConnect for Salesforce: https://www.devart.com/dotconnect/sales ... story.html.

Post Reply