Approve Code Climate as a third-party application in GitHub

If you haven't already, you'll need to link your Code Climate user to your GitHub user. Though this is entirely optional, there are a number of benefits to doing so (including being able to administer open source repositories).

If you've enabled third-party application restrictions on your GitHub organization, you will also need to whitelist Code Climate within GitHub. Until you do so, Code Climate will not have access to your GitHub organization's private repositories. As a result, you won't be able to use our streamlined repository set up process, and GitHub-hosted open source repositories may not display a Settings link to you in our UI.

Please see our step-by-step instructions below to get Code Climate approved as third-party application in GitHub.

How To

  1. Ensure you are logged into GitHub as a user that is currently linked to your Code Climate user.
  2. Browse to your GitHub user's -- not your GitHub organization's -- Settings menu. Here is the URL: https://github.com/settings/profile
  3. Select the Applications tab on the left.
  4. Select the Authorized OAuth apps tab at the top.
  5. Click Code Climate.
  6. Towards the bottom of the page, under Organization access, click Grant access for your GitHub organization.

If you instead see a button named Request access then your GitHub user doesn't currently have the rights to approve third-party applications.

After completing these steps, Code Climate will have access to your repositories. If you see a Sync Now button in Code Climate, click it to re-sync your Code Climate user data with your GitHub user data.