Files
deb-python-pysaml2/doc/examples/idp.rst

641 B

An extremly simple example of a SAML2 identity provider.

Setup:

The folder [your path]/pysaml2/example/idp2 contains a file named idp_conf.py.example

Take the file named idp_conf.py.example and rename it idp_conf.py

Generate a metadata file based in the configuration file (idp_conf.py) by using the command:

make_metadata.py idp_conf.py > idp.xml

Run IDP:

Open a Terminal:

cd [your path]/pysaml2/example/idp2
python idp.py idp_conf

Note that you should not have the .py extension on the idp_conf.py while running the program