gitkeeper is a tiny microservice that let's a client side appplication authenticate with GitHub.
# Install dependencies pip3 install -r requirements.txt # Export env variables export OAUTH_CLIENT_ID=<client_id> export OAUTH_CLIENT_SECRET=<client_secret> # Run the app flask run
GET http://localhost:5000/authenticate/<code>
Sample success response
{ "access_token": "2e6c49c405c4e059e3ec6d7e57447a6258a53241", "scope": "repo", "token_type": "bearer" }
Sample error response
{ "error": "bad_verification_code", "error_description": "The code passed is incorrect or expired.", "error_uri": "https://developer.github.com/apps/managing-oauth-apps/troubleshooting-oauth-app-access-token-request-errors/#bad-verification-code" }
Glitch > New Project > Clone from Git Repo
OAUTH_CLIENT_SECRET="" OAUTH_CLIENT_ID=""
Or Just clone the project.
Make sure that the Glitch project is private
Feel free to add deployment steps to other platforms.