OAuth 2.0 Authentication
- Last Updated: April 11, 2023
- 1 minute read
- DataDirect Connectors
- JDBC
- Documentation
The driver supports OAuth 2.0 to access Google Analytics resources. Before you can configure the driver for OAuth, you must register your client application with Google Cloud and obtain information such as the client ID, the client secret, and the refresh token. The following workflow describes the process for setting up OAuth 2.0 access.
- Register your application with Google Cloud. See this topic for step-by-step instructions for registering your application.
- Obtain client ID and client secret. If the application has already been registered, see this topic for steps to obtain the client ID and client secret.
- Obtain access and refresh tokens using the Configuration Manager. To configure the driver, you will need to specify either an access token or a refresh token. This topic provides instructions to obtain these tokens using the driver's Configuration Manager.
- Configure the driver to use OAuth 2.0. You can configure the driver to access Google Analytics resources by specifying the connection properties described in this topic.
Note: For more information, refer to the Using OAuth 2.0 to Access Google APIs section of the Google
Identity Help.