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 SSIS Components 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:
- Log into your HubSpot developer account.
- On the developer account home page, click Create an app or, if starting from the Apps dashboard, click Create app.
- 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.
- On the Auth tab, copy the client ID and client secret. You will use these later for the OAuthClientId and OAuthClientSecret properties.
- 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.
- 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).
- Install the application into a production portal with access to the features that are required by the integration.