This project shows how to use Flask-Dance to implement OAuth in web application.
https://pusher.com/tutorials/oauth-flask-dance
Clone this repo in a virtualised environment. You can use the following commands to create virtualised environment
pip install virtualenv
mkidr directory_name
virtualenv projectname
Install the following packages to run the app locally
pip install -r requirements.txt
Run the app locally using the command below
export OAUTHLIB_INSECURE_TRANSPORT=1
python app.py