Generate a refresh token from Salesforce
About this task
Perform the following steps to generate a refresh token from Salesforce which is required in the configuration of the Email Opt-Out Sync. It is relevant for any clients using Salesforce as the external provider within this app.
Procedure
- Log in to Salesforce using your favorite browser.
- Enter the following request URL in a new tab to generate the code:
https://<YOUR_INSTANCE>.salesforce.com/services/oauth2/authorize?response_type=code&client_id=<CONSUMER_KEY>&redirect_uri=<CALLBACK_URL>- Replace <CONSUMER_KEY> and <CALLBACK_URL> with the obtained consumer key and callback URL.
- Replace <YOUR_INSTANCE> with your instance name.
when creating refresh token for email opt out while adjusting below URL
https://<YOUR_INSTANCE>.salesforce.com/services/oauth2/authorize?response_type=code&client_id=<CONSUMER_KEY>&redirect_uri=<CALLBACK_URL>
getting error message i.e.,
this page isn't working right now
