Updated on 2024-12-16 GMT+08:00

Re-authorizing a Repository

You can change the authorization mode of the repository authorization and re-authorize the repository.

Prerequisites

The repository authorization has been created. For details, see Creating Repository Authorization.

Re-authorizing a Repository

  1. Log in to ServiceStage.
  2. Choose Continuous Delivery > Repository Authorization.
  3. Click Re-authorize in the Operation column of the target repository authorization and reconfigure the authorization information based on the repository type by referring to the following table.

    Table 1 Authorization parameters

    Parameter

    Description

    Method

    Reset the authorization mode based on the authorization repository type.

    The following supported official repository types vary depending on regions:

    • GitHub (https://github.com)

      Authorization mode: OAuth or private token.

    • Bitbucket (https://bitbucket.org)

      Authorization mode: OAuth or private Bitbucket.

    • GitLab (https://gitlab.com)

      Authorization mode: OAuth or private token.

      NOTE:

      ServiceStage allows you to access official and private GitLab source code repositories using private tokens.

      • Visit the official GitLab source code repository, obtain and enter a private token as prompted, and select Verify token (access the repository address from the public network).
      • Visit the private GitLab source code repository, enter the correct private GitLab source code repository address and private token as prompted. You do not need to select Verify token (access the repository address from the public network).

  4. Complete the authorization as prompted.
  5. Click OK.