Using DotConnect for Salesforce when all you have is a Session Id
Using DotConnect for Salesforce when all you have is a Session Id
Our company has a complex mechanism of verifying user credentials and fundamentally the best way to interact with SFDC is via the REST/Bulk or SOAP API armed only with a Session Id that can be gathered using a web browser control.
Is there any way to bypass the credential part of the login and just provide the session id and server url to the system and then proceed as normal?
Is there any way to bypass the credential part of the login and just provide the session id and server url to the system and then proceed as normal?
Re: Using DotConnect for Salesforce when all you have is a Session Id
Currently this functionality is not available in dotConnect for Salesforce. We will investigate the possibility of implementing this feature and notify you about the result.craigd wrote:Is there any way to bypass the credential part of the login and just provide the session id and server url to the system and then proceed as normal?
Re: Using DotConnect for Salesforce when all you have is a Session Id
The support of OAuth 2.0 is implemented to allow authentication with the Refresh Token, Client ID, and Client Secret parameters. OAuth 2.0 is described at http://wiki.developerforce.com/page/Dig ... _Force.com.
We will post here when the corresponding build of dotConnect for Salesforce is available for download.
We will post here when the corresponding build of dotConnect for Salesforce is available for download.
Re: Using DotConnect for Salesforce when all you have is a Session Id
New build of dotConnect for Salesforce 2.4.266 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=28402.
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=28402.
Re: Using DotConnect for Salesforce when all you have is a Session Id
Thanks for the update.
Back to the original question, if I have multiple applications that are not sharing the same library, but where I want to use the same session id, is there a way to bypass the login process and provide the session id directly as you can do with the standard REST API?
Back to the original question, if I have multiple applications that are not sharing the same library, but where I want to use the same session id, is there a way to bypass the login process and provide the session id directly as you can do with the standard REST API?
Re: Using DotConnect for Salesforce when all you have is a Session Id
Currently there are two ways of authentication with dotConnect for Salesforce:
1) "standard" with User Id, Password, Security Token
2) OAuth 2.0 with Client ID, Client Secret, Refresh Token
You want to establish connection basing only on SOAP API's Session Id (which is equal to REST API's Access Token), don't you? If yes, please specify the following information:
a) which authentication technology should we use when employing only SOAP API's Session Id?
b) give us a detailed description of your scenario so that we understand your needs
1) "standard" with User Id, Password, Security Token
2) OAuth 2.0 with Client ID, Client Secret, Refresh Token
You want to establish connection basing only on SOAP API's Session Id (which is equal to REST API's Access Token), don't you? If yes, please specify the following information:
a) which authentication technology should we use when employing only SOAP API's Session Id?
b) give us a detailed description of your scenario so that we understand your needs
Re: Using DotConnect for Salesforce when all you have is a Session Id
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: Using DotConnect for Salesforce when all you have is a Session Id
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.