Install the JFrog GitHub App

Install the JFrog App for GitHub to connect repositories for OIDC.

Connect the GitHub repositories that need JFrog OpenID Connect (OIDC) and repository automation.

Current availability sources are listed in JFrog and GitHub Feature Availability. This install is a step in Integration Workflow.

📘

Note

The JFrog GitHub App and OIDC integration require an Enterprise X or Enterprise+ subscription. For more information, see OpenID Connect Integration.

Before You Begin

  • An Enterprise X or Enterprise+ subscription. Otherwise, JFrog shows JFrog for GitHub App is unavailable for your subscription.
  • A GitHub organization where you can install a GitHub App.
  • Permission to select repositories and complete the JFrog connection.

Install the App

You can install JFrog for GitHub from GitHub Marketplace and connect the repositories that need OIDC.

To install the JFrog App for GitHub:

  1. In the JFrog Platform, go to Administration > General Management > Manage Integrations > GitHub Repositories. On JFrog App for GitHub, select CI Integration.

  2. Select Open GitHub Marketplace and install JFrog for GitHub from the GitHub Marketplace. In GitHub, choose the repositories the app can access.

    JFrog for GitHub app repository selection

  3. In GitHub App Setup, complete each step:

    1. Select Organization: Enter the GitHub organization to connect.
    2. Select GitHub Repositories: Select the repositories to configure for OIDC.
    3. Select Token Type: Choose the scope of the token that JFrog returns to GitHub through OIDC, such as Admin, User, Group, User Mapping, Groups Mapping, or Resource Scope.
    4. (Optional) Create Pull Request: Select Auto-Generate Pull Request. This option is cleared by default.
  4. When you auto-generate pull requests, review the pull request Add JFrog GitHub OIDC Integration Workflow in each repository. It adds .github/workflows/jfrog-github-oidc-example.yml, which sets oidc-provider-name to <organization>/<repository>@github and runs jf rt ping. The example pins jfrog/setup-jfrog-cli@v4. Change it to @v5 before you merge.

  5. Automatic pull requests are limited to 50 repositories. For a larger selection, JFrog doesn't create pull requests automatically. Create them after setup from the JFrog GitHub Repositories table.

Installation Result

The GitHub App is installed on the intended repositories, and the JFrog Platform shows the GitHub connection. Continue with OIDC Authentication.

Troubleshoot

Use the following checks when the JFrog App for GitHub installation doesn't finish as expected.

SymptomWhat to Check
The expected repositories aren't available during installation.Confirm that you're installing into the intended GitHub organization and that your account can grant repository access.
Workflows still require a stored JFrog token.Confirm that OIDC identity mapping is configured and that the workflow uses oidc-provider-name.
The generated workflow doesn't authenticate.Compare the provider name in the workflow, <organization>/<repository>@github, with the provider name in the JFrog OIDC integration.
No pull request was created.Confirm Auto-Generate Pull Request was selected and no more than 50 repositories were selected, or create the pull request from the JFrog GitHub Repositories table.

Related Topics


Did this page help you?