# Update Broker Token

{% hint style="warning" %}
This section applies **only to on-premises Mobb deployments** where the [Mobb Broker](https://docs.mobb.ai/Mobb-user-docs/more-info/mobb-broker) is used to connect to a self-hosted source code management (SCM) system.
{% endhint %}

When Mobb is deployed on-premises and connects to a self-hosted SCM through the Mobb Broker, it requires a valid SCM credential (typically a Personal Access Token) to authenticate against that SCM. Over time, these tokens may expire, be rotated for security reasons, or need to be replaced.

This section covers how to update the SCM credential for each supported on-premises SCM platform and authentication method:

**GitLab Server**

* [GitLab Server — PAT](https://docs.mobb.ai/Mobb-user-docs/more-info/update-broker-token/gitlab-server-pat)
* [GitLab Server — OAuth](https://docs.mobb.ai/Mobb-user-docs/more-info/update-broker-token/gitlab-server-oauth)

**GitHub Enterprise Server**

* [GitHub Enterprise Server — PAT](https://docs.mobb.ai/Mobb-user-docs/more-info/update-broker-token/github-enterprise-server-pat)
* [GitHub Enterprise Server — OAuth](https://docs.mobb.ai/Mobb-user-docs/more-info/update-broker-token/github-enterprise-server-oauth)

**Azure DevOps Server**

* [Azure DevOps Server — PAT](https://docs.mobb.ai/Mobb-user-docs/more-info/update-broker-token/azure-devops-server-pat)
