All pages
Powered by GitBook
1 of 4

Loading...

Loading...

Loading...

Loading...

Integration

Required permissions
GitHub App
Adding GitHub organization to Xopero ONE
Cover
Cover
Cover

GitHub App

Learn more about GitHub Apps and their features.

GitHub can be integrated with Xopero ONE using several authorization methods, including a GitHub App, which provides a secure and scalable way to connect GitHub organizations for backup and recovery operations. With granular permissions, repository-level access, and short-lived authentication tokens, GitHub Apps help protect repositories and related metadata while supporting automated backup workflows, repository synchronization, and streamlined management across the Xopero ONE environment.


General information

A GitHub App is a type of integration you can build to interact with and extend GitHub's functionality. GitHub Apps can provide flexibility and reduce friction in your processes without requiring users to sign in or create a service account.

Like OAuth apps, GitHub Apps use OAuth 2.0 and can act on a user's behalf. Unlike OAuth apps, GitHub Apps can also act independently of a user.

The Xopero ONE GitHub App is called GitProtect.


Advantages

The key advantages of using the GitHub App for integration with Xopero ONE include enhanced security, better rate limit handling, and more reliable repository management.

Security

GitHub Apps provide enhanced control and security compared to OAuth apps. Instead of broad scopes, GitHub Apps use fine-grained permissions, giving administrators better control over what the app can access and perform:

  • Granular permissions — GitHub Apps request only the permissions they need, unlike OAuth apps, which rely on broader permission scopes.

  • Repository-specific access — users or organization owners can choose which repositories an app can access, whereas OAuth apps can access all repositories available to the authorizing user.

  • Short-lived tokens — GitHub Apps use tokens that expire quickly, reducing the risk of misuse. In contrast, OAuth app tokens remain valid until explicitly revoked.

These features make GitHub Apps more suitable for organizations with strict security requirements, offering stronger protection against potential security risks.

GitHub Apps that use installation access tokens are initially allowed 5,000 requests per hour. This limit can increase under specific conditions:

  • GitHub Enterprise Cloud organizations — installations associated with a GitHub Enterprise Cloud organization have a rate limit of 15,000 requests per hour.

  • Scaling by repositories and users — for installations that are not part of a GitHub Enterprise Cloud organization:

    • Organizations with more than 20 repositories receive an additional 50 requests per hour per repository.

The above rules are designed to ensure fair usage while maintaining system stability and security.


GitHub Apps can be installed by users on their personal accounts and by organization owners within organizations they own. Additionally, repository admins within an organization can install GitHub Apps, provided the app is limited to repositories they administer and does not request permissions that affect the organization or involve repository administration.

However, organization owners have the capability to restrict these installations by outside collaborators who are repository admins. If organization members who are neither owners nor admins choose an organization during the app installation process, instead of directly installing the app, GitHub will notify the organization owner to request installation approval.


After installing a GitHub App, you may also need to authorize it. Installation lets you specify which repositories the app can access and grants it permission to use certain organizational resources.

During installation, the app displays the for review and approval. Once authorized, the app can also operate on your behalf.


Throttling limits the number of API calls or operations within a given time window to prevent resource overuse and ensure server stability. If throttling limits are exceeded, further client requests may be temporarily restricted, which can extend backup times.

Xopero ONE can use up to 10 additional apps to increase request limit and reduce throttling impact.


With the upcoming release of Xopero ONE (scheduled for May 2026), we are introducing support for GitHub issue types.

To enable this new feature, GitHub requires a manual update to your GitHub App permissions. While your existing backup plans will continue to run without interruption, this manual approval is required to unlock the new capabilities and ensure future compatibility.

Below is a step-by-step walkthrough of the approval process.

1

You will get an email from GitHub containing information about the application and the organization or account requesting elevated access. To grant Xopero ONE the required permissions, click the Review permission request to accept or reject this change link.

2

After clicking the link, you will be redirected to GitHub, where you can review the requested permissions and approve them.

3

Required permissions

Required permissions for integrating GitHub with Xopero ONE and protecting its resources.

Connecting GitHub with Xopero ONE requires appropriate permissions to access and protect repositories and their associated metadata. The required permissions depend on the authorization method used, such as a GitHub App or personal access token (PAT), and on the type of data that needs to be protected.


Integrating GitHub with Xopero ONE to back up and restore repositories, projects, and associated metadata requires an account with full administrative privileges.

Exact roles and permission levels may vary depending on individual repository settings, project configurations, or organization-level security policies. Below are examples of different roles, along with the corresponding permissions and the capabilities they provide in Xopero ONE.


To ensure seamless integration and correct operation, the Xopero ONE OAuth application* requires the following permissions:

Organizations with more than 20 users receive an additional 50 requests per hour for each user beyond 20.
  • The total rate limit is capped at 12,500 requests per hour.

  • Once the requested permissions are accepted, your environment will be ready for full backup coverage of issue type data when the next Xopero ONE release goes live.

    Rate limit

    Learn more about rate limits in the official GitHub documentation.

    Access control and approval flow

    App authorization

    You can install a GitHub App without authorizing it, and you can also authorize an app without installing it.

    Throttling prevention

    You can find more information about throttling and throttling mitigation methods in Useful links and items section.

    Updating GitHub App permissions

    You will receive an email notification from GitHub for each of your installations and will need to manually review and approve the new issue types permission request within your GitHub account.

    Useful links and items

    requested permissions
    Throttling prevention
    Avoiding API rate limits impact
    Full control of projects.
  • *The Xopero ONE OAuth application for GitHub is called GitProtect.


    Xopero ONE GitHub App* installation requires the following permissions:

    *The Xopero ONE GitHub App is called GitProtect.


    Personal access tokens are generated in GitHub account settings under Settings > Developer settings > Personal access tokens and can be assigned different permissions.

    Registering the Xopero ONE application and executing full repository backup and restore tasks requires a token configured with at least repo and workflow permissions.

    The following list outlines the permissions required to back up repository metadata within an organization:


    Account permissions

    GITHUB ROLES AND PERMISSIONS
    Organization role
    Repository role
    Capabilities

    Owner

    Default

    Full backup and restore.

    Permissions for the OAuth app

    Permissions for the GitHub App

    Permissions for personal access tokens (PAT)

    With minimal privileges, certain metadata may not be included in the backup. Select the permissions based on the specific data you need to protect.

    If you grant the token only read permissions, you can perform backups, but restoring data requires generating a new token with write permissions.

    Useful links and items

    Admin

    Full backup and restore.

    Write

    Full backup and restore.

    Read

    Full backup. Restore only to the user's own account.

    Member

    Admin

    Full backup. Restore only to the user's own account.

    Maintain

    Full backup. Restore only to the user's own account.

    Write

    Full backup. Restore only to the user's own account.

    Triage

    Backup excluding collaborators. Restore only to the user's own account.

    Collaborator

    Read

    Backup excluding collaborators. Restore only to the user's own account.

    Outside collaborator

    Default

    Backup excluding collaborators. Restore only to the user's own account.

    Adding GitHub organization to Xopero ONE

    This article explains how to add a GitHub organization to Xopero ONE.

    Using OAuth

    1

    Log in to XMS, open the DevOps tab on the left side of the window, and select GitHub from the list.

    2

    Click the Connect button under GitHub.

    3

    , log in with a user account which has the required permissions for the repositories or projects to protect. If your GitHub login session is active in a different tab, the login will complete automatically.

    4

    Grant Xopero ONE access to the specified resources (when prompted).

    5

    Your GitHub organization has now been successfully added to Xopero ONE. Click Custom policy to adjust your backup policy settings, or click Run backup to execute the backup immediately using the current policy configuration.


    1

    Log in to XMS, open the DevOps tab on the left side of the window, and select GitHub from the list.

    2

    Click the advanced mode link under GitHub and GitHub Enterprise Server tiles.

    3

    1

    Log in to XMS, open the DevOps tab on the left side of the window, and select GitHub from the list.

    2

    Click the advanced mode link under GitHub and GitHub Enterprise Server tiles.

    3

    When adding an organization, you may be prompted to grant additional permissions to the Xopero ONE application— make sure your browser allows Xopero to open pop-up windows.

    Depending on your browser, you can either adjust the settings to allow pop-ups or permit the authorization window to open once.

    Set your authentication method.

    1. In Authentication, select GitHub.

    2. For Connect using, choose GitHub App.

    3. Choose whether Xopero should automatically add new repositories to your backup.

    4

    Configure your repository sync and default worker. Specify hours for synchronization, or set a time interval for automatic updates.

    5

    Click Proceed to complete adding your GitHub organization and grant Xopero ONE access to the specified resources. In the window that pops-up, log in with a user account which has the required permissions for the repositories or projects to protect. If your GitHub login session is active in a different tab, the login will complete automatically.

    6

    Select repositories you want to protect and click Install & Authorize to proceed.

    7

    Your GitHub organization has now been successfully added to Xopero ONE. Click Custom policy to adjust your backup policy settings, or click Run backup to execute the backup immediately using the current policy configuration.

    Set your authentication method.

    1. In Authentication, select GitHub.

    2. For Connect using, choose Login and Personal Access Token.

    3. Enter your username.

    4. Add or select PAT from the Password Manager.

    5. Choose whether Xopero should automatically add new repositories to your backup.

    4

    Configure your repository sync and default worker. Specify hours for synchronization, or set a time interval for automatic updates.

    5

    Click Proceed to complete adding your GitHub organization and grant Xopero ONE access to the specified resources.

    Using GitHub App

    Using Personal Access Token (PAT)

    Additional browser permissions

    In the window that pops-up

    If the PAT does not exist, you need to add it. The PAT should be pasted into the password field.

    Mozilla pop-up allowance
    Rate limits for the REST API - GitHub DocsGitHub Docs
    Managing your personal access tokens - GitHub DocsGitHub Docs
    Logo
    About creating GitHub Apps - GitHub DocsGitHub Docs
    Logo
    Deciding when to build a GitHub App - GitHub DocsGitHub Docs
    Logo
    Logo