The driver may be used to access Snowflake resources with Snowflake OAuth, Snowflake's built-in OAuth service. The driver supports the following OAuth 2.0 flows and grants: the access token flow, the authorization code grant, the client credentials grant, and the refresh token grant.

The following workflow describes the process for setting up OAuth 2.0 access.

  1. Create a Snowflake OAuth security integration. You must create a security integration to set up OAuth in Snowflake. You can then obtain client information, such as client ID, client secret, authorization URI, redirect URI, and token URI.
  2. Obtain access tokens with the Configuration Manager. Before you can configure the driver, you must obtain any required access token.
  3. Configure the driver to use OAuth 2.0. You can configure the driver to access Snowflake resources using the access token flow, authorization code grant, client credentials grant, and refresh token grant.