Configure Search Preferences - Fluid Topics - 3.10

Fluid Topics Configuration and Administration Guide

Category
Reference Guides
Audience
public
Version
3.10

In the Profile mappers section of the New/Edit realm drawer, it is possible to define a mapping based on a Javascript function in order to set preferences for a user's account as follows:

  1. Select Run configuration assistant.
  2. Enter the user's email address, then select Search.
  3. In the Define mappings between authentication system and Fluid Topics profiles section, define the JavaScript object by either hard-coding the same value for all users (e.g., Product: 'FT') or retrieving the properties that the authentication service returns (e.g., Versions: attributes.versions). An alternative syntax is also available (e.g., user.preferences.metadata.foo = 'bar'). The following example illustrates all three use cases:

    user.preferences.metadata = {

    Product: 'FT',

    versions: attributes.versions

    }

    user.preferences.metadata.foo = 'bar'

  4. Check the results for accuracy in the Verify resolution results section.
  5. Select OK twice, then select Save.

Once the configuration is complete, ADMIN and USERS_ADMIN users can see the results in the Manage users administration interface as follows:

User authentication preferences

If Taruqa is enabled for the portal, end-users can see the results in the Authenticated values section of the Search preferences tab of the My account page as follows:

User_preferences_Javascript_result



- The Profile mappers section is read-only. In order to modify one or more mappings, it is necessary to open the Profile mappers assistant drawer by selecting the Run configuration assistant button.

- It is necessary to have the email address of an OpenID Connect realm user on hand in order to run the configuration assistant.

- If the configuration is incomplete or invalid, Fluid Topics identifies errors to be fixed in the Fix mapping errors section of the Profile mappers assistant drawer

By examining the list of available profile attributes in the Verify resolution results section of the Profile mappers assistant drawer, administrators can check that the results are as expected.