Skip to content

Latest commit

 

History

History
79 lines (64 loc) · 1.33 KB

README.md

File metadata and controls

79 lines (64 loc) · 1.33 KB

idpy

build codecov CodeQL

Mock SAML Identity Provider in Python for testing SAML Service Provider implementations

*Still under development

Setup

Requirements

  • pip
  • npm
  • xmlsec1

Install dependencies

pip install poetry
poetry install

Install xmlsec1

apt install xmlsec1
yum install xmlsec1

Install npm

apt install npm
yum install npm

Create certs

cd app/pki
./create-cert.sh

Generate metadata

cd app/metadata
poetry run python generate_metadata.py

Build

make build

Run

make run

Development setup

Same as above setup plus a few more steps

Install git hooks

make install-hooks

Create test certs

cd test/pki
./create-cert.sh

Generate test metadata

cd test/metadata
poetry run python generate_metadata.py

Run tests

make pytest