function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
klppkklppk 

How Aside.io, Workbench applications connect to Salesforce

Below is the URL the Web Application use to authenticate with Salesforce and get the Auth Code for further API calls.
https://login.salesforce.com/services/oauth2/authorize?response_type=code&client_id=
<client_id>&redirect_uri=<callback_uri>&state=<state>

To get the client Id we need to create a Connected App in Salesforce and use the details to connect to Salesforce. This is clear.

But, how does the applications like Aside.io, Workbench etc., connect to any salesforce Org? What client Id these applications pass to different salesforce orgs for authentication? Can anyone explain it?


 
 
Diksha Goel 6Diksha Goel 6

Hi,
Workbench is a powerful, web-based suite of tools designed for administrators and developers to interact with Salesforce.com organizations via the Force.com APIs. Workbench includes robust support for the Force.com Partner, Bulk, Rest, Streaming, Metadata, and Apex APIs that allows users to describe, query, manipulate, and migrate both data and metadata in Salesforce.com organizations directly in their web browser with a simple and intuitive user interface. Workbench also provides many advanced features for testing and troubleshooting the Force.com APIs, such as customizable SOAP headers, debug logs for API traffic, backward compatibility testing with previous API versions, and single sign-on integration within the Salesforce application.

Please check below post for more detail
https://developer.salesforce.com/page/Workbench
http://www.salesforcetutorial.com/workbench-salesforce-using-workbench/

The first thing is you can actually package the connected apps so that you don't need to create them every time on every org. You just need to install them there.

In case of workbench actually Salesforce installs a package through automated process. For more information about this ,refer below link :
https://salesforce.stackexchange.com/questions/122451/how-to-install-salesforce-connected-apps/122479#122479

Hope this helps you.

Diksha Goel
Zen4orce Developer