ODBC Driver for HubSpot

Build 23.0.8839

Creating a Custom OAuth App

When To Create 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

Create a Custom App

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 and optionally 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 desktop application, set CallbackURL to http://localhost:33333. If you are creating a Web application, set CallbackURL to a trusted URL where users are redirected to 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.

Note that the requested scopes (OAuthRequiredScopes) must match the scopes specified in your application's settings.

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