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?


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.

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.