Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 952 Bytes

README.md

File metadata and controls

36 lines (24 loc) · 952 Bytes

This document describes how to setup the provided Python code.

Prerequisites

  • Python
  • Homebrew if using Mac

Setup

System setup

On Mac:

brew install libffi

On Ubuntu:

apt-get install libffi-dev libsasl2-dev libssl-dev

Project setup

Optional pre-setup

  1. Setup a virtual environment.
  2. Activate the new virtual environment.

Code setup

  1. Install the dependencies: pip install -r requirements.txt

  2. Test that the project runs:

  3. Run the Relying Party (RP): python run.py.

  4. Verify the RP is running at http://localhost:8090.

  5. Start adding to the skeleton code:

  6. The missing parts are marked with TODO in oidc_rp/client.py.

  7. Make sure to delete cookies and cached data in the browser while testing to avoid strange results (e.g. due to the browser caching redirects, etc.).