I'm going to create a Chrome extension that will get some data from my SalesForce Rest service. I need to add the OAuth2 authorization to this service. How to correctly set up such a service via a connected application in SalesForce? Most commonly I don't know what I should add to the "Callback URL" field. And I actually didn't find a good explanation of what to do if you're doing this with your service hosted in SalesForce. Does anybody try to do this via a Chrome extension?

1 Answer 1


The callback URL should be https://extension-id.chromiumapp.org/index.html, where extension-id is the ID assigned to your app. You'll also need to use the chrome.identity.launchWebAuthFlow method in order for this callback URL to work.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .