OAuth 2.0 access token flow
- Last Updated: May 14, 2024
- 1 minute read
- DataDirect Connectors
- ODBC
- HubSpot 8.0
- Documentation
Note: The strings
demonstrated in this section use the DSN-less format. For additional formats, see "Using a
connection string."
Note: On Windows platforms, as
opposed to using a third-party application such as Postman, you can use the Progress
DataDirect HubSpot Configuration Manager to obtain an access token to support the access
token flow. See "Obtaining access and refresh tokens using the Configuration Manger" for
details. Alternatively, you can obtain an access token from HubSpot. Refer to the HubSpot
documentation at https://help.hubspot.com/ for details.
Note: Access tokens are temporary and must
be replaced to maintain the session without interruption. The life of an access token is
typically one hour.
DRIVER=DataDirect 8.0 HubSpot;AccessToken=access_token;[attribute=value[;...]];
where:
- access_token
-
specifies the access token required to authenticate to HubSpot. This option allows you to set the access token manually.
- attribute=value
- specifies connection option settings. Multiple option attributes are separated by a semi-colon.
The following example connection string includes the options for connecting with the OAuth 2.0 access token flow.
DRIVER=DataDirect 8.0 HubSpot;AccessToken=123=abCD/EfGh4Ijk+L;