- Get a free Salesforce Developer Edition here: Salesforce Developers (it’s a free Sandbox to test your integration)
- Salesforce OAuth documentation: Help And Training Community (Step 7 contains the details of what Salesforce returns along with the token)
- Overview of OAuth scopes: Help And Training Community
- Web API docs (their REST API): Salesforce Developers
Additional items to check when setting up Salesforce:
-
Make sure you request the
offline_access
scope and also have that set in your app in Salesforce. -
Go to your Apps manager page (typically found at the path
/setup/NavigationMenus/home
), on your connected app, click the little arrow → “Manage”. Make sure the two settings are set as seen in the screenshot below