ODBC Driver for HubSpot

Build 24.0.9060

Creating a Custom OAuth Application

Creating a Custom OAuth Application

CData embeds OAuth Application Credentials with CData branding that can be used when connecting via a desktop application or headless application.

You may choose to use your own OAuth Application Credentials when you want to:

  • Control branding of the Authentication Dialog.
  • Control the redirect URI that the application redirects the user to after the user authenticates.
  • Customize the permissions that you are requesting from the user.

Procedure

The CData ODBC Driver for HubSpot is already registered with HubSpot; to display your own information to users when they log in, follow the steps below to register an application and obtain the OAuth client credentials, the OAuthClientId and OAuthClientSecret:

  1. Log into your HubSpot developer account.
  2. On the developer account home page, click Create an app or, if starting from the Apps dashboard, click Create app.
  3. On the App info tab, enter or modify values that are displayed to users when they connect. These values include the public application name, application logo, and a description of the application.
  4. On the Auth tab, copy the client ID and client secret. You will use these later for the OAuthClientId and OAuthClientSecret properties.
  5. Set CallbackURL to http://localhost:33333. If you are creating a Web application, set CallbackURL to a trusted URL where users should be redirected after they authorize your application.
  6. Under Scopes, select Standard > oauth, any additional scopes as needed for your application's functionality, and the data you want to retrieve (see the OAuthRequiredScopes and OAuthOptionalScopes properties for the default scopes requested by the driver).
  7. Install the application into a production portal with access to the features that are required by the integration.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9060