> For the complete documentation index, see [llms.txt](https://docs.collibra.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.collibra.com/data-quality-self-hosted/integrations/configuring-the-default-oauth-scope.md).

# Configuring the default OAuth scope

Set the default OAuth scope that Data Quality & Observability (self-hosted) requests from Collibra Platform. With the recommended scope, Data Quality & Observability (self-hosted) can sync assets and update scores without further permission changes.

Configure this setting before you add an OAuth integration. You configure it once per environment.

#### Prerequisites <a href="#prerequisites" id="prerequisites"></a>

* You use OAuth as the authentication mode for the integration.
* You have access to the web ConfigMap (Kubernetes) or the `owl-env.sh` file (Standalone).

#### Steps <a href="#steps" id="steps"></a>

1. Set the `DQ_DGC_OAUTH_DEFAULT_REQUEST_SCOPE` key to `dgc.global-manage-all-resources,dgc.view-all`. To use more than one scope, separate the values with a comma. **Kubernetes**

   1. In the web ConfigMap, add the following key: `DQ_DGC_OAUTH_DEFAULT_REQUEST_SCOPE: "dgc.global-manage-all-resources,dgc.view-all"`
   2. Save the ConfigMap.
   3. Restart the Data Quality & Observability (self-hosted) web pod.

   **Standalone**

   1. In `owl-env.sh`, add the following key: `DQ_DGC_OAUTH_DEFAULT_REQUEST_SCOPE="dgc.global-manage-all-resources,dgc.view-all"`
   2. Save the file.
   3. Restart the Data Quality & Observability (self-hosted) web service.

#### What's next <a href="#whats-next" id="whats-next"></a>

[Configure a new integration](https://docs.collibra.com/data-quality-self-hosted/integrations/configuring-a-new-integration)
