
Since the README already says to point a browser at localhost, it was surprising to see the listeners bound to 0.0.0.0 by default. Changed that and added notes in README about how to change it if the user really wants to make a test listener accessible externally. Updated output messages during startup to include the bound IP, to make this more obvious. Added a missing EOL or two.
18 lines
317 B
Python
18 lines
317 B
Python
from saml2.assertion import Policy
|
|
|
|
HOST = '127.0.0.1'
|
|
PORT = 8087
|
|
HTTPS = False
|
|
|
|
# Which groups of entity categories to use
|
|
POLICY = Policy(
|
|
{
|
|
"default": {"entity_categories": ["swamid", "edugain"]}
|
|
}
|
|
)
|
|
|
|
# HTTPS cert information
|
|
SERVER_CERT = "pki/ssl.crt"
|
|
SERVER_KEY = "pki/ssl.pem"
|
|
CERT_CHAIN = ""
|