contributor icon indicating copy to clipboard operation
contributor copied to clipboard

Addressing Rate Limit

Open stramel opened this issue 8 years ago • 0 comments

https://github.com/jakeleboeuf/contributor/blob/master/src/lib/contributor.js#L171-L180

I think we could address the issue of the GitHub rate limiting by having the user obtain a Personal Access Token for contributor. There is a pretty slick interface for having the application guide someone to it, although can't remember how it worked. Using the Personal Access Token would allow the app to use the Default Authenticated Rate Limit of 5,000 requests/hour instead of the unauthenticated 60.

This would also, address authentication of a user's private repos without the need for them to provide their password.

Go To: https://github.com/settings/tokens Click "Generate new token" Enter Password Set Permissions

Personal access tokens function like ordinary OAuth access tokens. They can be used instead of a password for Git over HTTPS, or can be used to authenticate to the API over Basic Authentication.

stramel avatar Sep 01 '15 13:09 stramel