OAuth 認証の使用CData JDBC Driver for BigCommerce 2019J - Build 19.0.7354
This section documents how to obtain OAuth authentication credentials and use them to connect to BigCommerce. You can either obtain BigCommerce OAuth credentials directly from your BigCommerce account's UI or by creating a BigCommerce App.
Generating an OAuthAccess Token from BigCommerce
BigCommerce からのOAuthAccess トークンの生成 describes how to obtain the credentials to connect to BigCommerce. The access token authorizes specific account information to be shared. In this flow, there is no web browser that that pops up during execution because you will explicitly create and accept permissions for your app directly in the BigCommerce UI. This is the easiest way to connect and is recommended for users who are just accessing their personal or company data.
Creating a BigCommerce App
BigCommerce アプリの作成 describes how to create a custom app to connect to BigCommerce. This method details how to create an application for distribution and is required for each of the カスタムクレデンシャル and ヘッドレスマシン sections. Creating an app is more complicated than generating a single OAuthAccess Token, but may be more desireable for client integrations where your design is to connect or allow access to multiple clients, or an administrative scenario where the admin creates an app to be authorized individually by multiple individual users.
You will need to register an app to obtain the OAuthClientId and OAuthClientSecret. See カスタムクレデンシャル for the procedure.
In the headless OAuth flow, the user needs to authenticate via a browser on another machine. See ヘッドレスマシン for more information.