> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sync.cdata.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Connecting to HTTP or HTTPS

export const CommonAuthSchemeNone = ({siteName = "CData Sync", siteNameShort = "Sync", datasource = "the data source"}) => {
  return <>
      <p>認証なしで接続するには、<strong>Auth Scheme</strong> で<strong>None</strong> を選択します。追加のプロパティは必要ありません。</p>
    </>;
};

export const siteName = "CData Sync";

In {siteName}, you can connect to HTTP or HTTPS in several ways. Select your authentication method below, then proceed to the relevant section and follow those instructions.

* [**None**](#none)
* [**Basic**](#basic)
* [**Digest**](#digest)
* [**OAuth**](#oauth)
* [**OAuth JWT**](#oauth-jwt)
* [**OAuth Password**](#oauth-password)
* [**OAuth Client**](#oauth-client)
* [**OAuthPKCE**](#oauthpkce)

### None

<CommonAuthSchemeNone siteName={siteName} />

After you complete this section, go to *Complete Your Connection* on the connection page to finish setting up the connection.

### Basic

To connect with user credentials, specify the following settings:

* **Auth Scheme:** Select **Basic**.
* **User:** Enter the username that you use to authenticate to the HTTP stream.
* **Password:** Enter the password that you use to authenticate to the HTTP stream.

After you complete this section, go to *Complete Your Connection* on the connection page to finish setting up the connection.

### Digest

To connect with the digest scheme, specify the following settings:

* **Auth Scheme:** Select **Digest**.
* **User:** Enter the username that you use to authenticate to the HTTP stream.
* **Password:** Enter the password that you use to authenticate to the HTTP stream.

After you complete this section, go to *Complete Your Connection* on the connection page to finish setting up the connection.

### OAuth

To connect with an OAuth access token, specify the following settings:

* **Auth Scheme:** Select **OAuth**.
* **OAuth Version:** Select your OAuth version. The default version is **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 URL where the user logs into the service and grants permissions to the application. In OAuth 1.0, if permissions are granted, the request token is authorized.
* **OAuth Access Token URL:** Enter the URL where the request for the access token is made. In OAuth 1.0, the authorized request token is exchanged for the access token.
* **OAuth Refresh Token URL:** Enter the URL from which to refresh the OAuth token.
* (Optional) **Scope:** Enter the scope that you want to use to obtain the initial access and refresh token.

After you complete this section, go to *Complete Your Connection* on the connection page to finish setting up the connection.

### OAuth JWT

To connect with JWT, specify the following properties:

* **Auth Scheme:** Select **OAuthJWT**.
* **OAuth Version:** Use the default version, **2.0**.
* **OAuth Access Token URL:** Enter the URL where the JWT is exchanged for an access token.
* **OAuth JWT Cert:** Enter your Java web tokens (JWT) certificate store.
* **OAuth JWT Cert Type:** Enter the type of key store that contains your JWT certificate. The default type is **PEMKEY\_BLOB**.
* (Optional) **Scope:** Enter the scope that you want to use to obtain the initial access and refresh token.
* (Optional) **OAuth JWT Cert Password:** Enter the password for your OAuth JWT certificate.
* (Optional) **OAuth JWT Cert Subject:** Enter the subject of your OAuth JWT certificate.

After you complete this section, go to *Complete Your Connection* on the connection page to finish setting up the connection.

### OAuth Password

To connect with the Password OAuth grant type, specify the following properties:

* **Auth Scheme:** Select **OAuthPassword**.
* **User:** Enter the username that you use to authenticate to the HTTP stream.
* **Password:** Enter the password that you use to authenticate to the HTTP stream.
* **OAuth Version:** Use the default version, **2.0**.
* (Optional) **OAuth Client Id:** Enter the client Id that you were assigned when you registered your application with an OAuth authorization server.
* (Optional) **OAuth Client Secret:** Enter the client secret that you were assigned when you registered your application with an OAuth authorization server.
* (Optional) **Scope:** Enter the scope that you want to use to obtain the initial access token.
* (Optional) **OAuth Access Token URL:** Enter the URL where the request for the access token is made. In OAuth 1.0, the authorized request token is exchanged for the access token.

After you complete this section, go to *Complete Your Connection* on the connection page to finish setting up the connection.

### OAuth Client

To connect with OAuth client credentials, specify the following properties:

* **Auth Scheme:** Select **OAuthClient**.
* **OAuth Version:** Use the default version, **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.
* (Optional) **Scope:** Enter the scope that you want to use to obtain the initial access token.
* (Optional) **OAuth Access Token URL:** Enter the URL where the request for the access token is made. In OAuth 1.0, the authorized request token is exchanged for the access token.

After you complete this section, go to *Complete Your Connection* on the connection page to finish setting up the connection.

### OAuthPKCE

To connect with OAuth PKCE extension, specify the following properties:

* **Auth Scheme:** Select **OAuthPKCE**.
* **OAuth Version:** Use the default version, **2.0**.
* **OAuth Client Id:** Enter the client Id that you were assigned when you registered your application with an OAuth authorization server.

After you complete this section, go to *Complete Your Connection* on the connection page to finish setting up the connection.
