Reauthorize GitHub

This Article Is Licensed Under CCO For Maximum Reuse.

cc-zero.png

Having trouble viewing your GitHub organizations or loading your repositories? You may need to reauthorize your GitHub access token. Note, reauthorizing GitHub will disconnect GitHub from all OSF projects where it is connected. You will need to reconnect GitHub to each project after reauthorization. This help guide will walk you through how to reauthorize your GitHub connection to your OSF account.

  1. Revoke Your Access Token
  2. Reauthorize GitHub As An Add-On
  3. Grant OSF Access To Your GitHub Account
  4. Connect GitHub To Your Project

1. Revoke your access token

First, sign in to your GitHub account.

Click your profile in the top right of the page, then click Settings from the drop-down menu.

Your "Personal settings" page will appear.

Click Applications from the left sidebar.

You will be taken to the "Applications" page.

Click the Authorized OAuth Apps tab.

Then, find OSF in the list and click the Revoke button.

2. Reauthorize GitHub as an add-on

Next, sign in to your OSF account.

Then, select your name in the top right, and click Settings from the drop-down menu.

Your user "Settings" page will appear.

Click Configure add-on accounts in the left sidebar.

A list of add-ons will appear.

Find GitHub in the list, then click the Connect or Reauthorize Account link.

3. Grant OSF access to your GitHub account

You will be taken to the "OAuth" page for GitHub.

If you want to connect to GitHub organizations, click Grant (if you're an owner of the organization) or Request (if you're a member of the organization).

Then click the green AuthorizeCenterForOpenScience button.

GitHub will be connected to your OSF account.

4. Connect GitHub to your project

Next, connect GitHub to your OSF projects. See Connect Github To A Project for step-by-step instructions.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.