-
Notifications
You must be signed in to change notification settings - Fork 57
How to
Thomas Prouvot edited this page Aug 21, 2023
·
5 revisions
If you enabled "API client whitelisting", Sf Inspector may not work anymore. To secure the extension usage, you can use a auth flow to get an access token linked to a connected app.
- Create a connected app.
- Set permissions and callback url(s).
Warning Don't forget to replace "extensionId" and "mysandboxHost" with you current extension id and org domain
- for Chrome : (chrome-extension://extensionId/data-export.html?host=mysandboxHost&)
- for firefox : (moz-extension://extensionId/data-export.html?host=mysandboxHost&)
⚠️ Mozilla Firefox extension id is unique for each user, so you'll have to configure one callback per firefox user.
![Connected App](https://github.com/tprouvot/Chrome-Salesforce-inspector/raw/master/docs/screenshots/connectedApp.png?raw=true)
- Get Consumer Key and save it in the export page
![Client Id](https://github.com/tprouvot/Chrome-Salesforce-inspector/raw/master/docs/screenshots/clientId.png?raw=true)
- Refresh page and generate new token
![Generate Token](https://github.com/tprouvot/Chrome-Salesforce-inspector/raw/master/docs/screenshots/generateAccessToken.png?raw=true)