cohesive-auth
v0.3.6
Published
Initialize the OAuth component in your app by running these commands. Try to remove any whitespace in the `userName`. ``` <CohesiveAuth userId={ID_OF_THE_USER_WHO_OPENS_THE_AUTH_MODULE} userName={NAME_OF_THE_USER_WHO_OPENS_THE_AUTH_MODULE} accessTok
Downloads
7
Readme
Get started with Cohesive OAuth Component
Initialize the OAuth component in your app by running these commands. Try to remove any whitespace in the userName
.
<CohesiveAuth
userId={ID_OF_THE_USER_WHO_OPENS_THE_AUTH_MODULE}
userName={NAME_OF_THE_USER_WHO_OPENS_THE_AUTH_MODULE}
accessToken={ACCESS_TOKEN_OF_YOUR_ORG}
privateKey={PRIVATE_KEY_OF_YOUR_ORG}
onSuccess={OPTIONAL_CALLBACK_AFTER_SUCCESSFUL_REGISTRATION}
onError={OPTIONAL_CALLBACK_AFTER_UNSUCCESSFUL_REGISTRATION}
/>
Register with Salesforce
To give you access to their Salesforce account, your end user needs to enter their Salesforce domain, username, password, and security token into the OAuth modal. Password and security token need to be concatenated together and entered into the password field. Instructions on how to get Salesforce security token can be found here.
Register with Hubspot
To give you access to their Hubspot account, your end user needs to enter their Hubspot access token into the OAuth modal. Instructions on how to get Hubspot access token can be found here.