Configuring the Salesforce connector for Spotfire web clients
To be able to use the authentication method Log in with Salesforce in Spotfire web clients, you must make sure your web clients are configured properly. This requires that you create a connected app in Salesforce and configure your Spotfire web clients:
About this task
- In Salesforce, you need a connected app for integrating Spotfire with Salesforce.
- In a Spotfire on-premises environment, you must configure your Web Player services with the OAuth Client ID and Client Secret of your connected app in Salesforce.
Configurations in Salesforce
About this task
Spotfire requires that you make the following configurations in your Salesforce connected app:
- Make sure OAuth settings are enabled.
- Add your Spotfire Server
as a Callback URL:
https://<spotfire_server>/spotfire/wp/oauth2/code - Require Secret for Web Server Flow is selected.
- The following OAuth scopes are enabled:
-
- Access and manage your data (api)
- Provide access to your data via the Web (web)
- Perform requests on your behalf at any time (refresh_token, offline_access)
Consumer key and Consumer secret
Note down the OAuth credentials of the Salesforce connected app; the consumer key and consumer secret.
Configurations in Spotfire
About this task
Add the Consumer ID and Consumer Secret to the Web Player service configurations for your web clients. You add these settings in the config file Spotfire.Dxp.Worker.Host.exe.config.
Procedure
Preferences in Administration Manager
About this task
In earlier versions of Spotfire, the method for adding the consumer key and consumer secret information was to use a user group preferences in Spotfire Administration Manager. This method is still available.
Connectors > Salesforce:
ConsumerKey-
ConsumerSecret
The preferences are also in effect when you use Spotfire installed clients.
http://localhost:55932,
http://localhost:55933,
http://localhost:55934 .