← User Features
The connect widget uses user features to determine the behavior of the widget. Below is the structure of the user features object. Listed values are the defaults.
The userFeatures object is the user features that the widget is initialized with.
const userFeatures = [
{
feature_name: string,
guid: string | null,
is_enabled: boolean,
},
]Supported User Features
| User Feature | Description | Data |
|---|---|---|
SHOW_CONNECT_GLOBAL_NAVIGATION_HEADER |
When enabled, adds a back button to the top of the widget and gets rid of any explicit back buttons | |
CONNECT_COMBO_JOBS |
When enabled, the Connect widget will create COMBINATION jobs instead of individual jobs (aggregate, verification, reward, etc). | { |
When updating a member via OAuth, it is possible for the backend to return a different member GUID (inbound_member_guid) than the one used to initiate the flow. This commonly occurs during migrations from non-OAuth to OAuth connections, or when a user signs in with a different set of credentials at the same institution.
The Connect Widget handles this synchronization automatically by:
- Detecting the GUID change upon successful completion of the OAuth flow.
- Fetching the new member's full record using the
loadMemberByGuidcallback. - Updating the internal Redux state to reflect the new
currentMemberGuidand including the new member record in the list of active members. - Seamlessly transitioning the user to the
Connectingstep with the synchronized member data.