-
-
Notifications
You must be signed in to change notification settings - Fork 103
How to create access token for Gitako?
When you see warnings like above, you might need Gitako to help you explore private repositories, or get rid of API rate limiting. An access token is essential.
There are 2 ways to get token for Gitako
- OAuth - much easier to proceed. Strongly recommended!
- manually - fallback method, in case that OAuth doesn't work, or you want to skip requesting access for repos under other organizations.
-
Click on
Create with OAuth
, You'll be redirected to GitHub OAuth page for Gitako. -
Click on
Request
orGrant
for the organizations you'd like Gitako to access, then confirm withAuthorize GitakoExtension
. -
You'll be redirect back and see file tree working properly.
-
If above steps do not work, or you had trouble in requesting access to some organizations, please try the manual way below.
- Head to https://github.com/settings/tokens , click
Generate new token
- Input the token name (any random string is ok), and click on
repo
checkbox: - You'll see your access token after clicking
Generate token
at bottom. Copy it immediately (otherwise you won't be able to see it anymore), paste into Gitako settings, save and reload page.
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 except Gitako itself. Also, Gitako will NOT upload your token to anywhere, it will only be used when accessing GitHub API.