Webhooks

To secure webhooks with OAuth2, you must configure your trust provider, such as a trust provider, for your qTest tenant. qTest uses this information to obtain access tokens from your trust provider and includes them in calls to your webhook endpoints.

Before you start

Make sure to register an OAuth2 client in your trust provider that supports the client credentials flow. You'll need to locate its token endpoint URL, client ID, client secret, and the scope your receiving endpoint expects.

To configure a trust provider for your webhooks, follow these steps:

  1. Click Add trust provider.

  2. In the OAuth 2.0 trust provider section, enter the following:

Option Description
Token endpoint URL Enter the URL that your trust provider issues access tokens from.
Client ID

Enter the credentials of the OAuth2 client you registered in your trust provider for qTest.

Client secret Enter the credentials of the OAuth2 client you registered in your trust provider for qTest.
Scope (optional) Enter the scope(s) to request in the access token. These should match what your receiving endpoint requires. Example: webhooks.write
  1. Click Save. qTest contacts your trust provider using the information you provided and saves the configuration after successfully validating your information.

Note that the information doesn't save if qTest can't reach the trust provider.