nhagen / react-intercom

A component to configure and enable Intercom in your react application
MIT License
237 stars 72 forks source link

Support for user_hash for Identify Verification #61

Closed bluepeter closed 5 years ago

bluepeter commented 5 years ago

It doesn't appear as though this component supports user_hash for guaranteed communication with Intercom? That is to say, the following doesn't work:

const user = { email: currentUser, user_hash: accountStore.intercomHash };
return <Intercom appID={config.intercomID} {...user} />;

This results in:

Intercom Messenger error: Missing user_hash. A valid user_hash is required to authenticate users when Identity Verification is enabled.

bluepeter commented 5 years ago

Operator error. Closing.