[SalesForce] How does the automatically created connected app works when I use workbench

I've read this article but I'm still confused about what happens when I approved the access from workbench.

The connected app "Workbench" seems automatically created in my org when I approve the access from workbench.

  • Who did create this connected app? And
  • what is the role of this connected app?
  • When workbench wants to access the resource in my org, does the connected app in my org provide client id and client secret (but they're hidden because of managed)?

Best Answer

See my answer here. It is described in winter 14 release that Salesforce installs some of these apps through an automated process.

Connected apps are used to access/modify data in your org through APIs. It all depends how much access is provided in connected app.

A "Connected App" is an application that can connect to salesforce.com over Identity and Data APIs.

For example workbench has following access in your org:

enter image description here

Basically you can create a connected app in your org and can distribute it through manage package, so wherever this package would be installed you would have relevant access of the data of that org and as connected app was created in your packaging org you can use the client Id and secret of the app.