3

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)?
2

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.

  • Thank you so much for your response, Mr.Frodo. When I create a connected apps manually, it takes 2-10 minutes to reflect OAuth settings. But I can use workbench just after I approved. Why...? Is there something special for automatically created connected app? – Sergei Omar Jun 14 '18 at 6:05
  • @SergeiOmar It is not creating connected app here. It is just installing a manage package which includes that connected app. As this package only contains this connected app, it only take seconds to install. – Mr.Frodo Jun 14 '18 at 6:14
  • Ah, I almost understand. Just one last thing. Workbench says it's not an official product but Salesforce Connected Apps (Managed) says it contains officially supported products. How can other 3rd party web applications be included in the managed package? – Sergei Omar Jun 14 '18 at 6:55
  • @SergeiOmar You see there is difference between Official product and officially supported product :p . It's the Salesforce who found some relevant and daily used application and created a single package for all of them. Workbench is an open source application and you can use it's code in your application as well AFAIK. – Mr.Frodo Jun 14 '18 at 7:01
  • I see. Thank you for so much for your kind support! – Sergei Omar Jun 14 '18 at 7:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.