Hello,
In our current system (we wrote our own wrapper around the wsdl then bought your tool seeing as it was easier to use but we have one thing that we need to do that I have seen no support from your tool) we pass in the session Id to log into Salesforce. We have an api user then we replace the session that the api user logs in with, with the session Id that is passed in. With the entity framework tool that you provide it uses the default api user every time with no way to change the session id.
I have seen suggestions to use OAuth 2.0 in order to do this but I do not know how to use OAuth 2.0 with dotConnect for Salesforce nor I have seen any examples in your forums.
Can you provide an example on how to us OAuth 2.0 to authenticate with Salesforce using dotConnect for Salesforce or provide some way to pass in the session Id into your context to say that this is the session we want to use?
Thanks,
Brett
Authenticating using SessionId
Re: Authenticating using SessionId
Is anyone from Devart even monitoring these forums? I would have expected at least some kind of reply within 24 hours from someone if my company is paying for the license. I would appreciate a response.
Thank you
Thank you
Re: Authenticating using SessionId
Currently there are two ways of authentication with dotConnect for Salesforce:BrettRose wrote:Can you provide an example on how to us OAuth 2.0 to authenticate with Salesforce using dotConnect for Salesforce or provide some way to pass in the session Id into your context to say that this is the session we want to use?
1) "standard" with User Id, Password, Security Token
2) OAuth 2.0 with Client ID, Client Secret, Refresh Token
OAuth 2.0 is described at http://wiki.developerforce.com/page/Dig ... _Force.com. We have just sent a sample with this approach to your e-mail.
Which exactly timeouts do you mean?BrettRose wrote:Also, how does your framework deal with timeouts of Salesforce? Does it handle all the session logic underneath the covers?
Our support has a two business day response policy. For more information, refer to http://www.devart.com/dotconnect/salesf ... pport.html.BrettRose wrote:I would have expected at least some kind of reply within 24 hours from someone if my company is paying for the license.
Re: Authenticating using SessionId
The SessionId authentication type is implemented to allow authorization with the Session Id (Access Token), Organization Id, and Host connection string parameters. OrganizationId can be found in the Salesforce account: https://success.salesforce.com/answers? ... 000gtwDAAQ.
We will notify you when the corresponding build of dotConnect for Salesforce is available for download.
We will notify you when the corresponding build of dotConnect for Salesforce is available for download.
Re: Authenticating using SessionId
New build of dotConnect for Salesforce 2.4.422 is available for download now!
It can be downloaded from http://www.devart.com/dotconnect/salesf ... nload.html (trial version) or from Registered Users' Area (for users with active subscription only).
For more information, please refer to http://forums.devart.com/viewtopic.php?f=38&t=29941.
It can be downloaded from http://www.devart.com/dotconnect/salesf ... nload.html (trial version) or from Registered Users' Area (for users with active subscription only).
For more information, please refer to http://forums.devart.com/viewtopic.php?f=38&t=29941.