Setting up OAuth in Salesforce Case
This article describes how to setup OAuth for Salesforce authentication.
Tip: OAuth is only required for Salesforce Case when Human Translation is required. If you use Case but do not require Human Translation, you do not need to set up OAuth authentication.
Authorizing OAuth for Salesforce Case
- Log in to the Salesforce instance in Lightning mode. Go to “Setup”.
- In Quick Find, search for “App Manager”.
- Click the “New Connected App” button in the upper right hand corner:
-
Populate the following fields:
- Connected App Name: Language IO Connected App
- API Name: Use the auto generated name
- Contact Name: dev_ops@languageio.com
- Check Enable OAuth Settings
- Callback URL: https://golinguist.com/linguistnow/handleResponseOAuthDecision
-
Selected OAuth Scopes:
- Manage user data via APIs (API)
- Perform requests at any time (refresh_token, offline_access)
- Check Require Secret for Web Server Flow.
- Check Require Secret for Refresh Token Flow.
- Press “Save”, then press “Continue”.
Note: It may take between 2 and 10 minutes for changes to go into effect. - Next, in the API (Enable OAuth Settings) section, click on the Manage Consumer Details button.
- The Consumer Details screen opens. Copy the Consumer Key and Consumer Secret. Store them in a safe place and share them to Language I/O when they set up your account.
- Create an account in Salesforce that can login to the site with the proper permissions required for the plugin you want to enable. This account is what defines the permissions Language I/O uses via the access token that OAuth retrieves.
- Login to the following Language I/O page:
https://golinguist.com/linguistnow/consumer/response-oauth
Note: If it does not work, log off with the following link, then try again:
https://golinguist.com/linguistnow/launch/logout - You are redirected to your Salesforce instance. Log in with the account you just set up and approve the requested permissions.
- After approving the permissions, you are redirected to a Language I/O page with a message that OAuth was successful.
Revoking OAuth for Salesforce
- To revoke an auth token run the following
Get
request:https://login.salesforce.com/services/oauth2/revoke?token=[Add token value here]
Comments
0 comments
Please sign in to leave a comment.