Khoros Community Source JSON Modification

You can change Khoros Community source hidden parameters by modifying the source JSON configuration from the Coveo Cloud Administration Console.

To modify the JSON configuration, select the Khoros Community source in the Sources page, and then access the Edit a Source JSON Configuration panel. In this panel, select the Configuration tab and make the applicable changes in the JSON configuration box. All parameters must be added to the parameters section of the source JSON configuration.

BasicAuthenticationUsername and BasicAuthenticationPassword

The BasicAuthenticationUsername and BasicAuthenticationPassword parameters determine the username and password to use when a Khoros community is secured with basic (http) authentication.

KHOROS_COMMUNITY_AUTHORIZATION_ERROR appears in the Activity Browser. A Coveo Support agent instructs you to add the BasicAuthenticationUsername and BasicAuthenticationPassword parameters to fix the issue.

"BasicAuthenticationUsername": {
  "sensitive": false,
  "value": "jsmith@besttech.com"
},
"BasicAuthenticationPassword": {
  "sensitive": true,
  "value": "mypassword"
}

The sensitive attribute must be set to true for the BasicAuthenticationPassword parameter. Otherwise, the password will appear in clear text in the JSON configuration.

RestApiUrl

If you use a reverse proxy, your REST API might not reside at your community root URL. You must therefore add the RestApiUrlhidden parameter to specify the URL address at which your REST API resides.

Khoros Community doesn’t recommend using a reverse proxy (see Reverse proxy and Lithium communities while logged in with a Khoros community account).

Your community root URL is https://www.example.com/community/, and your REST API resides at https://www.example.com/community/thisisourapi/.

"RestApiUrl": {
  "sensitive": false,
  "value": "https://www.example.com/community/thisisourapi/"
},
Recommended Articles