Sign inSign up

itsdirg/pysaml2-idp

By itsdirg

•Updated almost 11 years ago

pysaml2 example IdP.

Image
1

1.1K

itsdirg/pysaml2-idp repository overview

⁠Docker image for pysaml2 IdP

To run the Identity Provider (IdP) run:

docker run -p 9000:<port in idp_conf.py> -v <host dir>:<data_dir> -e DATA_DIR=<data_dir> pysaml2-idp

The volume bound must contain the necessary configuration files:

<host dir>/
├── sp.xml
└── idp_conf.py

where sp.xml is the Service Providers (SPs) metadata and idp_conf.py is the configuration file for the pysaml2 IdP, see the example configurations⁠ in the pysaml2 project.

Metadata for the IdP will be written to the mounted host directory as specified by the environment variable: DATA_DIR.

⁠Even simpler

Only add the SPs metadata in env/sp.xml⁠, then:

cd vagrant && vagrant up

The IdP should be reachable at http://localhost:9000⁠.

Tag summary

Content type

Image

Digest

Size

197.3 MB

Last updated

almost 11 years ago

docker pull itsdirg/pysaml2-idp