OAuth 2.0 access token flow
- Last Updated: July 30, 2025
- 1 minute read
- DataDirect Connectors
- ODBC
- Aha! 8.0
- Documentation
Note: To use OAuth2 authentication, you must first register your application with Aha!.
Refer to the Aha! documentation for more information.
Typically, an OAuth 2.0 grant
type or access flow is handled by the application. However, in some scenarios, you may need
to secure an access token using external processes. In those instances, you can use the
access token flow to access the service manually.Note: The strings
demonstrated in this section use the DSN-less format. For additional formats, see Using a connection string.
Note: Access tokens are
temporary and must be replaced to maintain the session without interruption. The life of
an access token is typically one hour.
DRIVER=DataDirect 8.0 Aha;HostName=host_name;AccessToken=access_token;
AuthenticationMethod=24;[attribute=value[;...]];
where:
- host_name
- specifies the base URL of the Aha! service to which you want to
issue requests. For example,
company.aha.io.
- access_token
-
specifies the access token required to authenticate to Aha!.This property allows you to set the access token manually.
- attribute=value
- specifies connection option settings. Multiple option attributes are separated by a semi-colon.
The following example connection string includes the options for connecting with the OAuth 2.0 access token flow.
DRIVER=DataDirect 8.0 Aha;HostName=company.aha.io;
AccessToken=abc12cd34efg5678h9ij87klm6543no32pqr10;AuthenticationMethod=24;