Configuring Authentication

You can authenticate your connection to Square by specifying an access token, or by providing your Square application information so that the connector retrieves and uses the corresponding access token.

Configuring Authentication With an Access Token

If you already have a valid access token, specify it in your DSN so that the connector can use it to authenticate the connection.

To configure authentication with an access token:

  1. To access authentication options, open the ODBC Data Source Administrator where you created the DSN, select the DSN, and then click Configure.
  2. In the Access Token field, type your access token.
  3. To save your settings and close the DSN Setup dialog box, click OK.

Configuring Authentication With Your Square Application Information

You can configure the connector to retrieve and use an access token based on your Square application information.

Note:

For information about finding your application ID and application secret, see Finding Your Square Application Information.

To configure authentication with your Square application information:

  1. To access authentication options, open the ODBC Data Source Administrator where you created the DSN, select the DSN, and then click Configure.
  2. In the Client ID field, type the application ID associated with your Square application.
  3. In the Client Secret field, type the application secret associated with your Square application.
  4. Optionally, in the Scope field, type a space-separated list of OAuth scopes for the access token.
  5. Note:

    For a list of supported scopes, see "OAuthPermission" in the Square Authorization API Reference: https://developer.squareup.com/docs/api/oauth#type-oauthpermission.

  6. In the Redirect URI field, type the redirect URL associated with your Square application.
  7. Click Get Access Token.
  8. In the web browser that opens, log in to your Square account and allow the connector to access your Square data store.
  9. In the Simba Square ODBC Driver DSN Setup dialog box, confirm that the Access Token field is populated. Then, close the browser window.
  10. To save your settings and close the Simba Square ODBC Driver DSN Setup dialog box, click OK.