Basic authentication
- Last Updated: July 30, 2025
- 1 minute read
- DataDirect Connectors
- ODBC
- Aha! 8.0
- Documentation
To configure the driver to use basic (user id and password) authentication:
- Set the Host Name (HostName) option to the base URL of the base URL of the Aha! service to which you want to issue requests. For example, company.aha.io.
- Set the Authentication Method (AuthenticationMethod) option to
0(Basic), the default. - Set the User (User) option to specify the name of the user connecting to the service.
- Set the Password (Password) option to specify the password for the user connecting to the service.
- Optionally, specify values for any additional properties you want to configure.
Note: The User and Password options are
not required to be stored in the connection string. They can also be sent separately
by the application using the SQLConnect ODBC API. For SQLDriverConnect and
SQLBrowseConnect, they will need to be specified in the connection string.
The following examples show the connection information required to establish a session using basic authentication.
Connection string
DRIVER=DataDirect 8.0 Aha;HostName=mycompany.aha.io;User=jsmith@mycompany.com;
Password=secret;
odbc.ini
[Aha]
Driver=ODBCHOME/lib/ivaha28.so
Description=DataDirect 8.0 Aha
...
Password=secret
...
HostName=mycompany.aha.io
...
User=jsmith@example.com
...