Reauthorize GitHub

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

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 Authorize CenterForOpenScience 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.