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.
Only add the SPs metadata in env/sp.xml, then:
cd vagrant && vagrant up
The IdP should be reachable at http://localhost:9000.
Content type
Image
Digest
Size
197.3 MB
Last updated
almost 11 years ago
docker pull itsdirg/pysaml2-idp