Skip to content

doshmajhan/idpy

Repository files navigation

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

About

Mock SAML IDP in Python for testing

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published