github_auth
is a stand alone service that simplfies the ability of a user to collect an access token for github. This access token is suitable for usage in other clients to access github on their behalf.
Consult HOWTOINIT, and in particular read the sections how to collect client and secret tokens. These need to be added to .env
and their purpose allows this application to speak to github on behalf of another user.
Currently, github_auth
is a prototypical development project. To start, open two terminals. In one terminal start the UI
npm run dev
and in another terminal
npm run server
Simply point a browser to http://localhost:3000
.
Follow the very simple prompt and authenticate to github. On successful authentication, a token will be presented in the browser display. This token can be passed to other applications which can operate on github repositories on the user’s behalf.
Future short term development will use a MongoDB service to store these tokens for a user, and further automate the ability of other services to collect these tokens.