Start a new External Client App
- Go to Setup (gear icon at the top-right)
- On the left in the "Quick Find" box, search for 'External'
- Under 'Apps" > 'External Client Apps', select 'External Client App Manager'
- Select 'New External Client App'
Basic Information
- Fill out the Information for the new External Client App so that it is clear that the ECA is for use with Riva Insight
- For the logo, if the Riva logo is preferred, you may use
https://www-us.rivainsight.com/live/Content/Images/insight128.png
for the Logo Image URL and Icon URL
OAuth Settings
- Expand 'API (Enable OAuth Settings)
- Select 'Enable OAuth'
App Settings
- Add the callback URL in format
https://{dnsname}:{port}/{basepath}/salesforce-oauth
For example:https://riva.customer.local:5001/insight/salesforce-oauth- Note:
- The callback URLs must be all in lowercase
- Multiple callback urls can be added (use a new line for each callback url)
dnsnameis fully qualified domain name (fqdn)5001is the default port for Insight (can be changed during the Insight setup)insightinsight' is the default base path for Insight (can be changed during the Insight setup)- exclude the port if using
443as the Insight port
- If behind a load balancer:
- ensure the front-end Insight url is added (exclude the port if using
443) - add the local urls to aid with validation/troubleshooting
- ensure the front-end Insight url is added (exclude the port if using
- Note:
- For OAuth Scopes, select the following scopes:
- Access the identity URL service (
id,profile,email) - Manage user data via APIs (
api) - Perform requests at any time (
refresh_token,offline_access)
Flow Enablement
- Select 'Enable Authorization Code and Credentials Flow'
Security
- Keep the default security settings, which would have the following enabled:
- Require Proof Key for Code Exchange (PKCE) extension for Supported Authorization Flows
- Enable Refresh Token Rotation
- Limit Idle Refresh Token Time-to-Live (TTL) to 30 Days
Create the App
- The remaining sections can remain as is
- When ready, click on the "Create" button at the very bottom of the page
Access Consumer Key and Consumer Secret
- Go back to External Client App Manager
- Find the Insight External Client App that was just created and click on it
- Click on the Settings tab
- Click on the "Edit" button
- Scroll down to and expand "OAuth Settings"
- Click on "Consumer Key and Secret"
- The Consumer Details will open with the Consumer Key and Secret
- Make note of the values as they will be used later in the Riva Insight configuration