Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use authenticated client to interact with github API #3

Open
90lantran opened this issue Jan 12, 2021 · 0 comments
Open

Use authenticated client to interact with github API #3

90lantran opened this issue Jan 12, 2021 · 0 comments

Comments

@90lantran
Copy link
Owner

Right now, the server uses un-authenticated client which only has limit 60 requests/hour. If authenticated, we can request up to 5000 requests/hour.
The go-github library does provide authentication with it. However, there are some reported issues for JWT google/go-github#1069.
Another way is to use the personal access token which is straight forward but cannot be used for production.
One last way is to authentication as github app which requires a call back URL which is where the server which be hosted. Localhost will not be accepted for a callback URL.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant