Creating a Custom OAuth AppCData BizTalk Adapter for HubSpot 2019 - Build 19.0.7424
OAuth requires the authenticating user to interact with HubSpot using the browser. The adapter facilitates this in various ways as described below.
Authenticate to HubSpot
After setting InitiateOAuth to GETANDREFRESH, you are ready to connect. You can use InitiateOAuth to avoid repeating the OAuth exchange and manually setting the OAuthAccessToken connection property. When you connect the adapter opens the OAuth endpoint in your default browser. Log in and grant permissions to the application. The adapter then completes the OAuth process:
- Extracts the access token from the callback URL and authenticates requests.
- Refreshes the access token when it expires.
- Saves OAuth values in OAuthSettingsLocation to be persisted across connections.