To run these examples:

1) I suggest creating a virtual envionment to install libraries
   http://docs.python-guide.org/en/latest/dev/virtualenvs/
   Run:
   `virtualenv env`
   `./env/bin/activate`

2) Install required dependencies
   https://pip.pypa.io/en/stable/reference/pip_install/
   Run:
  `pip install -r requirements.txt`

3) For the oidc_login.py and oauth2_login.py examples
   you'll need to register your application with an
   authorization provider, and fill out the CONFIG
   dictionary in the file.

   If you want to use Globus, you can go to
   https://developers.globus.org/ to register your
   app.

   For other providers (Google, Facebook, etc.)  see
   their docs.

4) Set flask to run a particular example, and launch it
   http://flask.pocoo.org/docs/0.12/quickstart/
   Run:
   `export FLASK_APP=oauth2_login.py`
   `flask run`

Depending on your local setup, you may need to set up a
reverse-proxy to support SSL requests.
This doc might help:
https://www.digitalocean.com/community/tutorials/how-to-configure-nginx-with-ssl-as-a-reverse-proxy-for-jenkins

