Adding OAuth Connection String (Optional)
Salesforce provides an OAuth (Open Authorization) solution that allows secure API authorization using a Refresh Token. Instead of using Salesforce login credentials, the Refresh Token can be used to obtain a Salesforce session.
Using OAuth, the connection string will look similar to this:
<add name="S4SConnString" connectionString="S4S:refresh token=5Aep8617VFpo****************cU4W4SzB2;environment=Production" />
You can use the FuseIT SFDC Explorer to get the Refresh Token for your Salesforce instance. Use the OAuth Login tab to obtain the token.