deb-python-pysaml2/tests/disco_conf.py

26 lines
559 B
Python

from saml2.extension.idpdisc import BINDING_DISCO
from pathutils import full_path
from pathutils import xmlsec_path
BASE = "http://localhost:8088"
CONFIG = {
"entityid": "%s/disco.xml" % BASE,
"name": "Rolands Discoserver",
"service": {
"ds": {
"endpoints": {
"disco_service": [
("%s/disco" % BASE, BINDING_DISCO),
]
},
},
},
"debug": 1,
"xmlsec_binary": xmlsec_path,
"metadata": {
"local": [full_path("servera.xml")],
},
}