Get Client ID & Client Secret for Non SSL domains

To get client ID & Client Secret you will need to create a connected app in your salesforce account.

STEP 1: Creating a New Connected App in Salesforce

Please go to Setup >App Setup > Create > Apps

At bottom you will notice Connected Apps

new-connected-app-salesforce

 

Now click “New” button in front of connected apps

1- Add Connected App Name and Email Id

2- Enable Oauth Settings and add your site address

3- Add https://login.salesforce.com/services/oauth2/success as Callback Url

4- Add “Full Access” and “Perform requests on your behalf at any time (refresh_token, offline_access)” for Oauth Scopes

Click  Save.

You can now copy Consumer Key and Consumer Secret and add it to plugin settings.

Connected-App-Salesforce

 

STEP 2: Getting Authorization code 

Go to Formidable -> Global Settings -> Salesforce

Enter your client Id and client secret and SAVE it first.

Now click on Authorize Button

salesforce-authorize

After clicking in Authorize button a pop will open.

Login with your salesforce credentials and give access to app.

Now copy the auth code from the url.

Screen Shot 2016-05-02 at 12.07.51 PM

Save the copied code in your formidable salesforce settings

save-auth-code-salesforce

Thats it . You should see the Deauthorize button now.

deauth-button