This repo contains a simple web app demonstrating how GitHub OAuth App work in Web Flow.
The web server is written in Flask.
Make sure flask server is installed.
pip install Flask
To run it, you have to register a GitHub OAuth App.
Open server.py
, fill in the variable names at the top (client id, client secret).
Run server.py
, python server.py
, and access http://localhost:8080
.
Go to the root page (http://localhost:8080), enter your GitHub usename and proceed.