Skip to content

Access token for Gitako

Enix edited this page Dec 26, 2022 · 7 revisions

Why do you need to provide an access token?

You should get above warnings when accessing private repositories or exceeded GitHub API rate limit. An access token is required to pass it.

There are 2 ways to get access tokens.

  1. OAuth - Recommended
  2. manually - Use this in case if OAuth doesn't work, or you'd like to avoid requesting permits for repositories of organizations.

OAuth

  1. Click on Create with OAuth, You'll be redirected to GitHub OAuth page for Gitako.

  2. (Optional) Click on Request or Grant for the organizations you'd like Gitako to access.

  3. Confirm with Authorize GitakoExtension.

  4. You'll be redirected back and see the file tree working properly.

Manually

  1. First head to https://github.com/settings/tokens (or corresponding URL if you are using other platforms, e.g. GitHub enterprise), click on Generate new token

  2. Input the token name, check the repo scope:

  3. Click Generate token and paste to Gitako settings, save.

Privacy & Security

Gitako stores your token locally at Chrome local storage (not HTML5 LocalStorage API), thus your token will not be exposed to any other extensions or website scripts. Gitako will NOT upload your token, it will only be used when accessing GitHub API.