> For the complete documentation index, see [llms.txt](https://docs.sonarsource.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sonarsource.com/sonarqube-server/2025.4/instance-administration/authentication/gitlab/disabling.md).

# Disabling authentication

To disable GitLab authentication and provisioning in SonarQube Server 2025.4, you must disable the GitLab authentication configuration.

## Disabling the GitLab configuration <a href="#disabling-config" id="disabling-config"></a>

1. Go to **Administration > Configuration > General Settings > Authentication > GitLab**.
2. If the automatic provisioning mode is enabled, disable it as follows:
3. In the **Provisioning** section, select the **Just-in-time user provisioning** option.
4. Select the **Save** button.
5. Select **Disable configuration**.
6. You can delete the configuration by selecting the **Delete** button. In that case, you won’t be able to re-enable this configuration.

## Re-enabling the GitLab configuration <a href="#reenable-config" id="reenable-config"></a>

1. Go to **Administration > Configuration > General Settings > Authentication > GitLab**.
2. Select **Enable configuration**.
3. If you had configured the automatic provisioning mode, select the **Automatic user, group, and permission provisioning** option. Your previous settings are kept.

## Related pages <a href="#related-pages" id="related-pages"></a>

* [Just-in-Time provisioning](/sonarqube-server/2025.4/instance-administration/authentication/gitlab/provisioning-modes/just-in-time.md)
* [Automatic provisioning](/sonarqube-server/2025.4/instance-administration/authentication/gitlab/provisioning-modes/automatic.md)
* [Setting up authentication](/sonarqube-server/2025.4/instance-administration/authentication/gitlab/setting-up.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.sonarsource.com/sonarqube-server/2025.4/instance-administration/authentication/gitlab/disabling.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
