GraphQL コネクタを追加
GraphQL への認証
After you add the connector, you need to set the required properties. URL: Enter the URL for your GraphQL service. CData Sync supports authenticating to GraphQL in several ways. Select your authentication method below to proceed to the relevant section that contains the authentication details.None
Basic
OAuth
To connect with OAuth custom credentials, specify the following properties:- Auth Scheme: Select OAuth.
- OAuth Version: Select the OAuth version that you want to use. The versions are Disabled (default), 1.0, and 2.0.
- OAuth Client Id: Enter the client Id that you were assigned when you registered your application with an OAuth authorization server.
- OAuth Client Secret: Enter the client secret that you were assigned when you registered your application with an OAuth authorization server.
- OAuth Authorization URL: Enter the OAuth authorization URL that you need to authorize request tokens when you sign in.
- OAuth Access Token URL: Enter the URL from which the request for the access token is made.
- OAuth Refresh Token URL: Enter the URL from which the refresh token is exchanged for a new access token when the old one expires. Note that for your data source, this URL might be the same as the access-token URL.
- (Optional) OAuth Request Token URL: Enter the URL from which the application requests the request token.
OAuth PKCE
To connect with the OAuth PKCE extension, set the following properties:- Auth Scheme: Select OAuthPKCE.
- OAuth Client Id: Enter the client Id that you were assigned when you registered your application with an OAuth authorization server.
- OAuth Authorization URL: Enter the OAuth authorization URL that you need to authorize request tokens when you sign in.
- OAuth Access Token URL: Enter the URL where the request for the access token is made.
- OAuth Refresh Token URL: Enter the URL where the refresh token is exchanged for a new access token when the old one expires. Note that for your data source, this URL might be the same as the access-token URL.
AWS Cognito Secure Remote Password
Amazon Web Services (AWS) Cognito 認証情報で接続するには、次のプロパティを指定します:
- Auth Scheme:AwsCognitoSrp を選択。
- User:ユーザープールに登録されているユーザーのユーザー名を入力。
- Password:ユーザープールに登録されているユーザーのパスワードを入力。
- AWS Cognito Region:Amazon Web Services (AWS) Cognito のホスティングリージョンを選択。デフォルトのリージョンはNORTHERNVIRGINIA です。
- AWS User Pool Id:AWS ユーザープールの識別子(Id)を入力。
- AWS User Pool Client App Id:AWS ユーザープールのクライアントアプリケーションId を入力。
- (オプション)AWS User Pool Client App Secret:ユーザープールクライアントのシークレットを入力。
- AWS Region:Amazon Web Services のホスティングリージョンを選択。デフォルトのリージョンはNORTHERNVIRGINIA です。
AWS Cognito Basic
Amazon Web Services (AWS) Cognito 認証情報で接続するには、次のプロパティを指定します:
- Auth Scheme:AwsCognitoBasic を選択。
- User:ユーザープールに登録されているユーザーのユーザー名を入力。
- Password:ユーザープールに登録されているユーザーのパスワードを入力。
- AWS Cognito Region:Amazon Web Services (AWS) ユーザープールのリージョンを選択。デフォルトのリージョンはNORTHERNVIRGINIA です。
- AWS User Pool Id:AWS ユーザープールの識別子(Id)を入力。
- AWS User Pool Client App Id:AWS ユーザープールのクライアントアプリケーションId を入力。
- (オプション)AWS User Pool Client App Secret:ユーザープールクライアントのシークレットを入力。
接続を完了する
To complete your connection:- Define advanced connection settings on the Advanced tab. (In most cases, though, you should not need these settings.)
- Connect to GraphQL to connect to your GraphQL account.
- Click Create & Test to create your connection.