| icon | shield |
|---|
Salesforce supports industry standard OAuth 2.0 authentication and authorization.
NOTES:
- The user setting up OAuth in Salesforce needs to have
System Adminpermissions.
- In your salesforce instance, go to
Setup - In
Setup, underPLATFORM TOOLSgo toApps>External Client Apps>Settings - Toggle the
Allow creation of connected appsoption on - Then click on
New Connected Appto start created a new app.
- In the
New Connected Apppage, fill out the following: - The Connected App Name
- The Contact Email
- Check the
Enable OAuth Settingscheckbox - Check the
Enable for Device Flowcheckbox - Under Callback URL:
- Keep the default Salesforce callback URL: https://login.salesforce.com/services/oauth2/success
for production instances and https://test.salesforce.com/services/oauth2/success for sandbox instances. - On a new line, add the SharpSync callback URL: https://app.sharpsync.net/callback-oauth
- Keep the default Salesforce callback URL: https://login.salesforce.com/services/oauth2/success
- Select the following
Selected OAuth Scopes:- Access the identity URL service (id, profile, email, address, phone)
- Access unique user identifiers (openid)
- Full access (full)
- Manage user data via APIs (api)
- Manage user data via Web browsers (web)
- Perform requests at any time (refresh_token, offline_access)
- Uncheck the
Require Proof Key for Code Exchange (PKCE) Extension for Supported Authorization Flowscheckbox - Check the
Require Secret for Web Server Flowcheckbox - Check the
Require Secret for Refresh Token Flowcheckbox - Keep all other checkboxes unchecked
- Then click on the
SAVEbutton - You will be redirected to the newly created Connected App page.
- Click on the
Manage Consumer Detailsbutton
In the next page, make sure to save the Consumer Key and Consumer Secret in a secure location because they will be used in the next steps in SharpSync to set up your Propel DataSource connections settings.
You are now ready and you can move on to configuring Propel as a datasource in SharpSync
For more info, you can find links to the Salesforce docs related to the OAuth 2.0 setup below:
.png)
