GitHub Authentication

GitHub limits requests to its API to 60 per hour for unauthenticated requests, and to 5000 per hour for requests using either basic authentication or oAuth.

For the initial import of issues and issue comments to the database we need to authenticate with GitHub to avoid to exceed the rate limit.

To use your GitHub credentials from the CLI script, edit the config.json file and fill in your GitHub username and password, answer “yes” to the question if you whish to authenticate, or pass the --auth option.

This will add the possibility to authenticate a user with his/her GitHub account using oAuth authentication.

oAuth login

In order to test the login feature in your local environment you will need to create an application key and secret for your (local) JTrackerApplication instance: