SSIS Components for QuickBooks Online

Build 20.0.7587

カスタムOAuth アプリの作成

Intuit uses the OAuth 2.0 authentication standard. From December 17th, 2019 Intuit no longer supports OAuth 1.0. OAuth requires the authenticating user to interact with QuickBooks Online using the browser. Follow the steps below to obtain the OAuth values.

Authenticate to QuickBooks Online in a Desktop Application

After setting the following connection properties, you are ready to connect:

The 本製品 is already registered as an OAuth application with QuickBooks Online and has embedded OAuth credentials. If you wish to create your own OAuth app, refer to the 高度な設定 section.

  • OAuthClientId: Leave this blank to use the embedded credentials, otherwise use the consumer key in your app settings.
  • OAuthClientSecret: Leave this blank to use the embedded credentials, otherwise use the consumer secret in your app settings.
  • CallbackURL: Leave this blank to use the embedded credentials, otherwise use the Launch URL in your app settings.
  • InitiateOAuth: Set this to GETANDREFRESH. You can use InitiateOAuth to avoid repeating the OAuth exchange and manually setting the OAuthAccessToken
When you connect the 本製品 opens the OAuth endpoint in your default browser. Log in and grant permissions to the application. The 本製品 then completes the OAuth process:
  1. Extracts the access token from the callback URL and authenticates requests.
  2. Refreshes the access token when it expires.
  3. Saves OAuth values in OAuthSettingsLocation to be persisted across connections.

Authenticate to QuickBooks Online in a Web Application

If you are connecting via a Web application, you will need to register your own OAuth app with QuickBooks Online. Refer to our 高度な設定 guide for more information.

To obtain the access token, set the following connection properties:

  • CompanyId: The unique identifier of a given company in QuickBooks Online.
  • OAuthClientId: The consumer key in your app settings.
  • OAuthClientSecret: The consumer secret in your app settings.
  • CallbackURL: The Launch URL in your app settings.

When connecting via a Web application, or if the 本製品 is not authorized to open a browser window, you will need to exchange a verifier code for the OAuthAccessToken:

  1. Call GetOAuthAuthorizationURL. The stored procedure returns the URL to the OAuth endpoint.
  2. Log in and authorize the application. You are redirected back to the callback URL.

    The callback URL contains the verifier code in a query string parameter named "code". Extract the verifier code from the callback URL.

  3. Call GetOAuthAccessToken.

Set the following connection properties to connect to data:

  • CompanyId
  • OAuthClientId
  • OAuthClientSecret
  • OAuthAccessToken

Copyright (c) 2020 CData Software, Inc. - All rights reserved.
Build 20.0.7587