Page 1 of 1

Example of OAuth Salesforce connection string

Posted: Thu 19 Oct 2017 16:01
by pl6306
Hello,

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

Thanks!

Re: Example of OAuth Salesforce connection string

Posted: Thu 19 Oct 2017 18:33
by pl6306
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?

Re: Example of OAuth Salesforce connection string

Posted: Mon 23 Oct 2017 16:53
by Shalex
We will investigate the question and notify you about the result.

Re: Example of OAuth Salesforce connection string

Posted: Fri 24 Nov 2017 11:22
by Shalex
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.